Hide panels by default on mobile
This commit is contained in:
parent
d4b8a2a310
commit
0ba1f00e74
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue