chore(OneClient): Change Default Resolution
This commit is contained in:
parent
439f426bcd
commit
ac386301bb
2 changed files with 8 additions and 8 deletions
|
|
@ -76,10 +76,10 @@ function RouteComponent() {
|
|||
min={1}
|
||||
onChange={(e) => {
|
||||
const width = Math.max(1, Number(e.currentTarget.value));
|
||||
updateProfile({ res: { width, height: profile.res?.height ?? 720 } });
|
||||
updateProfile({ res: { width, height: profile.res?.height ?? 480 } });
|
||||
}}
|
||||
type="number"
|
||||
value={profile.res?.width ?? 1280}
|
||||
value={profile.res?.width ?? 640}
|
||||
/>
|
||||
<XIcon className="size-4 self-center" />
|
||||
<TextField
|
||||
|
|
@ -87,10 +87,10 @@ function RouteComponent() {
|
|||
min={1}
|
||||
onChange={(e) => {
|
||||
const height = Math.max(1, Number(e.currentTarget.value));
|
||||
updateProfile({ res: { width: profile.res?.width ?? 1280, height } });
|
||||
updateProfile({ res: { width: profile.res?.width ?? 640, height } });
|
||||
}}
|
||||
type="number"
|
||||
value={profile.res?.height ?? 720}
|
||||
value={profile.res?.height ?? 480}
|
||||
/>
|
||||
</div>
|
||||
</SettingsRow>
|
||||
|
|
|
|||
|
|
@ -80,10 +80,10 @@ export function GameSettings() {
|
|||
min={1}
|
||||
onChange={(e) => {
|
||||
const width = Math.max(1, Number(e.currentTarget.value));
|
||||
setSetting('res', { width, height: gameSettings.res?.height ?? 720 });
|
||||
setSetting('res', { width, height: gameSettings.res?.height ?? 480 });
|
||||
}}
|
||||
type="number"
|
||||
value={gameSettings.res?.width ?? 1280}
|
||||
value={gameSettings.res?.width ?? 640}
|
||||
/>
|
||||
<XIcon className="size-4 self-center" />
|
||||
<TextField
|
||||
|
|
@ -91,10 +91,10 @@ export function GameSettings() {
|
|||
min={1}
|
||||
onChange={(e) => {
|
||||
const height = Math.max(1, Number(e.currentTarget.value));
|
||||
setSetting('res', { width: gameSettings.res?.width ?? 1280, height });
|
||||
setSetting('res', { width: gameSettings.res?.width ?? 640, height });
|
||||
}}
|
||||
type="number"
|
||||
value={gameSettings.res?.height ?? 720}
|
||||
value={gameSettings.res?.height ?? 480}
|
||||
/>
|
||||
</div>
|
||||
</SettingsRow>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue