add: global blur effect
This commit is contained in:
@@ -40,6 +40,18 @@ watch(
|
||||
{ immediate: true }
|
||||
);
|
||||
|
||||
watch(
|
||||
() => globalUIStore.backdropBlur,
|
||||
(enabled) => {
|
||||
if (enabled) {
|
||||
document.documentElement.style.removeProperty("--tui-backdrop-blur");
|
||||
} else {
|
||||
document.documentElement.style.setProperty("--tui-backdrop-blur", "0px");
|
||||
}
|
||||
},
|
||||
{ immediate: true }
|
||||
);
|
||||
|
||||
onMounted(() => {
|
||||
settingStore.loadSoundPlayers();
|
||||
window.addEventListener("pointerdown", unlockSoundOnUserGesture, { once: true });
|
||||
|
||||
Reference in New Issue
Block a user