From ac386301bbb7253f0898a3c2dec50fe99ffda725 Mon Sep 17 00:00:00 2001 From: Jacob Date: Mon, 29 Dec 2025 16:46:31 +0800 Subject: [PATCH] chore(OneClient): Change Default Resolution --- .../frontend/src/routes/app/cluster/settings.tsx | 8 ++++---- .../frontend/src/routes/app/settings/minecraft.tsx | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/oneclient/frontend/src/routes/app/cluster/settings.tsx b/apps/oneclient/frontend/src/routes/app/cluster/settings.tsx index 62f6553d..af878059 100644 --- a/apps/oneclient/frontend/src/routes/app/cluster/settings.tsx +++ b/apps/oneclient/frontend/src/routes/app/cluster/settings.tsx @@ -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} /> { 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} /> diff --git a/apps/oneclient/frontend/src/routes/app/settings/minecraft.tsx b/apps/oneclient/frontend/src/routes/app/settings/minecraft.tsx index 6c39d98f..24c5c26e 100644 --- a/apps/oneclient/frontend/src/routes/app/settings/minecraft.tsx +++ b/apps/oneclient/frontend/src/routes/app/settings/minecraft.tsx @@ -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} /> { 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} />