change default res again
This commit is contained in:
parent
ac386301bb
commit
18c37f8661
2 changed files with 4 additions and 4 deletions
|
|
@ -79,7 +79,7 @@ function RouteComponent() {
|
|||
updateProfile({ res: { width, height: profile.res?.height ?? 480 } });
|
||||
}}
|
||||
type="number"
|
||||
value={profile.res?.width ?? 640}
|
||||
value={profile.res?.width ?? 854}
|
||||
/>
|
||||
<XIcon className="size-4 self-center" />
|
||||
<TextField
|
||||
|
|
@ -87,7 +87,7 @@ function RouteComponent() {
|
|||
min={1}
|
||||
onChange={(e) => {
|
||||
const height = Math.max(1, Number(e.currentTarget.value));
|
||||
updateProfile({ res: { width: profile.res?.width ?? 640, height } });
|
||||
updateProfile({ res: { width: profile.res?.width ?? 854, height } });
|
||||
}}
|
||||
type="number"
|
||||
value={profile.res?.height ?? 480}
|
||||
|
|
|
|||
|
|
@ -83,7 +83,7 @@ export function GameSettings() {
|
|||
setSetting('res', { width, height: gameSettings.res?.height ?? 480 });
|
||||
}}
|
||||
type="number"
|
||||
value={gameSettings.res?.width ?? 640}
|
||||
value={gameSettings.res?.width ?? 854}
|
||||
/>
|
||||
<XIcon className="size-4 self-center" />
|
||||
<TextField
|
||||
|
|
@ -91,7 +91,7 @@ export function GameSettings() {
|
|||
min={1}
|
||||
onChange={(e) => {
|
||||
const height = Math.max(1, Number(e.currentTarget.value));
|
||||
setSetting('res', { width: gameSettings.res?.width ?? 640, height });
|
||||
setSetting('res', { width: gameSettings.res?.width ?? 854, height });
|
||||
}}
|
||||
type="number"
|
||||
value={gameSettings.res?.height ?? 480}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue