From 4de75448b681b77e91e23ad0efc8bdcae7cb0853 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 3 Mar 2019 08:43:51 +0900 Subject: テーマの切り替えをなめらかに MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/client/app/init.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/app/init.ts') diff --git a/src/client/app/init.ts b/src/client/app/init.ts index e85a249476..52cdbf6c60 100644 --- a/src/client/app/init.ts +++ b/src/client/app/init.ts @@ -389,7 +389,7 @@ export default (callback: (launch: (router: VueRouter) => [Vue, MiOS], os: MiOS) }); //#endregion - // Reapply current theme + /*// Reapply current theme try { const themeName = os.store.state.device.darkmode ? os.store.state.device.darkTheme : os.store.state.device.lightTheme; const themes = os.store.state.device.themes.concat(builtinThemes); @@ -399,7 +399,7 @@ export default (callback: (launch: (router: VueRouter) => [Vue, MiOS], os: MiOS) } } catch (e) { console.log(`Cannot reapply theme. ${e}`); - } + }*/ //#region line width document.documentElement.style.setProperty('--lineWidth', `${os.store.state.device.lineWidth}px`); -- cgit v1.2.3-freya