summaryrefslogtreecommitdiff
path: root/src/client/app/init.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2019-03-03 08:43:51 +0900
committersyuilo <syuilotan@yahoo.co.jp>2019-03-03 08:43:51 +0900
commit4de75448b681b77e91e23ad0efc8bdcae7cb0853 (patch)
treebe3058bf5278d3ad8366a0793e10e69cef3b23a8 /src/client/app/init.ts
parentImprove log view (diff)
downloadsharkey-4de75448b681b77e91e23ad0efc8bdcae7cb0853.tar.gz
sharkey-4de75448b681b77e91e23ad0efc8bdcae7cb0853.tar.bz2
sharkey-4de75448b681b77e91e23ad0efc8bdcae7cb0853.zip
テーマの切り替えをなめらかに
Diffstat (limited to 'src/client/app/init.ts')
-rw-r--r--src/client/app/init.ts4
1 files changed, 2 insertions, 2 deletions
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`);