forked from external-repos/LifeTrinket
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa5829b402 | ||
|
|
71f26d0dc5 |
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "life-trinket",
|
"name": "life-trinket",
|
||||||
"private": true,
|
"private": true,
|
||||||
"version": "0.8.0",
|
"version": "0.8.1",
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18",
|
"node": ">=18",
|
||||||
|
|||||||
@@ -334,8 +334,8 @@ const PlayerMenu = ({
|
|||||||
fontSize: buttonFontSize,
|
fontSize: buttonFontSize,
|
||||||
}}
|
}}
|
||||||
className="text-primary-main px-1 webkit-user-select-none cursor-pointer
|
className="text-primary-main px-1 webkit-user-select-none cursor-pointer
|
||||||
data-[wake-lock-active=false]:bg-secondary-dark rounded-lg border border-transparent
|
data-[wake-lock-active=true]:bg-secondary-dark rounded-lg border border-transparent
|
||||||
data-[wake-lock-active=false]:border-primary-main
|
data-[wake-lock-active=true]:border-primary-main
|
||||||
"
|
"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
wakeLock.toggleWakeLock();
|
wakeLock.toggleWakeLock();
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ export const LayoutOptions: React.FC<LayoutOptionsProps> = ({
|
|||||||
switch (numberOfPlayers) {
|
switch (numberOfPlayers) {
|
||||||
case 1:
|
case 1:
|
||||||
return (
|
return (
|
||||||
<div>
|
<>
|
||||||
<FormControlLabel
|
<FormControlLabel
|
||||||
value={Orientation.Landscape}
|
value={Orientation.Landscape}
|
||||||
control={
|
control={
|
||||||
@@ -91,7 +91,7 @@ export const LayoutOptions: React.FC<LayoutOptionsProps> = ({
|
|||||||
}
|
}
|
||||||
label=""
|
label=""
|
||||||
/>
|
/>
|
||||||
</div>
|
</>
|
||||||
);
|
);
|
||||||
case 2:
|
case 2:
|
||||||
return (
|
return (
|
||||||
@@ -309,6 +309,7 @@ export const LayoutOptions: React.FC<LayoutOptionsProps> = ({
|
|||||||
value={Orientation.Portrait}
|
value={Orientation.Portrait}
|
||||||
control={
|
control={
|
||||||
<Radio
|
<Radio
|
||||||
|
style={{ maxWidth: iconMaxWidth, maxHeight: iconMaxHeight }}
|
||||||
icon={
|
icon={
|
||||||
<FivePlayersSide
|
<FivePlayersSide
|
||||||
height={iconHeight}
|
height={iconHeight}
|
||||||
@@ -362,6 +363,7 @@ export const LayoutOptions: React.FC<LayoutOptionsProps> = ({
|
|||||||
value={Orientation.Portrait}
|
value={Orientation.Portrait}
|
||||||
control={
|
control={
|
||||||
<Radio
|
<Radio
|
||||||
|
style={{ maxWidth: iconMaxWidth, maxHeight: iconMaxHeight }}
|
||||||
icon={
|
icon={
|
||||||
<SixPlayersSide
|
<SixPlayersSide
|
||||||
height={iconHeight}
|
height={iconHeight}
|
||||||
|
|||||||
Reference in New Issue
Block a user