diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-08-11 22:36:59 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-08-11 22:36:59 +0900 |
| commit | 42c4ea38ccf09ba37ff552e37778ba1b702b781c (patch) | |
| tree | 39bffcf6c87fe7f0b31778b71993be2a72c0881d /src/client/init.ts | |
| parent | Merge branch 'develop' (diff) | |
| parent | 12.86.0 (diff) | |
| download | misskey-42c4ea38ccf09ba37ff552e37778ba1b702b781c.tar.gz misskey-42c4ea38ccf09ba37ff552e37778ba1b702b781c.tar.bz2 misskey-42c4ea38ccf09ba37ff552e37778ba1b702b781c.zip | |
Merge branch 'develop'
Diffstat (limited to 'src/client/init.ts')
| -rw-r--r-- | src/client/init.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client/init.ts b/src/client/init.ts index e6b308c5fb..a4a228da22 100644 --- a/src/client/init.ts +++ b/src/client/init.ts @@ -243,6 +243,14 @@ watch(defaultStore.reactiveState.useBlurEffectForModal, v => { document.documentElement.style.setProperty('--modalBgFilter', v ? 'blur(4px)' : 'none'); }, { immediate: true }); +watch(defaultStore.reactiveState.useBlurEffect, v => { + if (v) { + document.documentElement.style.removeProperty('--blur'); + } else { + document.documentElement.style.setProperty('--blur', 'none'); + } +}, { immediate: true }); + let reloadDialogShowing = false; stream.on('_disconnected_', async () => { if (defaultStore.state.serverDisconnectedBehavior === 'reload') { |