Hide panels by default on mobile

This commit is contained in:
Danila Poyarkov 2026-03-01 21:13:06 +03:00
parent d4b8a2a310
commit 0ba1f00e74

View file

@ -174,7 +174,7 @@ export function createEditorStore() {
y: number
selection?: string[]
}>,
showUI: true,
showUI: matchMedia('(min-width: 768px)').matches,
documentName: 'Untitled' as string,
panX: 0,
pageColor: { ...CANVAS_BG_COLOR } as Color,