[feat] default sidebar open

This commit is contained in:
kwaroran
2023-07-25 22:02:27 +09:00
parent 711aa3b71f
commit 9d0c48574d

View File

@@ -11,7 +11,7 @@ export const SizeStore = writable({
w: 0,
h: 0
})
export const sideBarStore = writable(false)
export const sideBarStore = writable(window.innerWidth > 1024)
export const selectedCharID = writable(-1)
export const CharEmotion = writable({} as {[key:string]: [string, string, number][]})
export const ViewBoxsize = writable({ width: 12 * 16, height: 12 * 16 }); // Default width and height in pixels