From 9d0c48574da1df4dec4d9fb3c07b72f8b3d5b467 Mon Sep 17 00:00:00 2001 From: kwaroran Date: Tue, 25 Jul 2023 22:02:27 +0900 Subject: [PATCH] [feat] default sidebar open --- src/ts/stores.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/stores.ts b/src/ts/stores.ts index 8ad71504..56176601 100644 --- a/src/ts/stores.ts +++ b/src/ts/stores.ts @@ -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