fix(ui): default UI scale is 100% — native size out of the box (#1074)

New installs rendered at 130% zoom, which read as oversized on typical
displays. Fresh sessions now start at 100%; anyone who already picked a
scale keeps it (uiScale is persisted and wins over the default).

Co-authored-by: mergetest <test@local>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Palash Debnath
2026-07-11 15:34:56 +05:30
committed by GitHub
co-authored by mergetest Claude Fable 5
parent f7be62207e
commit e0a7b2202d
+3 -1
View File
@@ -101,7 +101,9 @@ export const createUiSlice: StateCreator<UiSlice, [], [], UiSlice> = (set, get)
isSidebarProjectsCollapsed: false,
sidebarTab: 'projects',
showCheatsheet: false,
uiScale: 1.3,
// 100% by default — the app renders at native size out of the box; users
// who prefer larger UI pick their scale in Settings → Appearance (persisted).
uiScale: 1.0,
setMode: (mode) => set({ mode }),
setDefineMethod: (method) => set({ defineMethod: method }),