fix(desktop): replace dialog blur with theme-aware mask

This commit is contained in:
t8y2 committed 2026-07-30 17:41:29 +08:00
1 parent 343c81f305
commit 45d7db7a10
5 files changed
+6 -42

No files matched your search

-3
View File
@@ -34,7 +34,6 @@ import { useVisibilityChange } from "@/composables/useVisibilityChange";
import { useWebDavAutoUpload } from "@/composables/useWebDavAutoUpload";
import { useScheduledDatabaseBackups } from "@/composables/useScheduledDatabaseBackups";
import { shouldDrawDesktopWindowFrame } from "@/composables/useWindowControls";
import { startDialogBackdropSync, stopDialogBackdropSync } from "@/lib/app/dialogBackdrop";
import { useSaveSqlFolderSelection } from "@/composables/useSaveSqlFolderSelection";
import "@/i18n";
import { translateBackendError } from "@/i18n/backend-errors";
@@ -2093,7 +2092,6 @@ onMounted(async () => {
});
applyTheme();
void applyUiScale(settingsStore.editorSettings.uiScale);
startDialogBackdropSync();
window.addEventListener("keydown", handleKeydown);
window.addEventListener("dbx-open-driver-store", openDriverStoreFromEvent);
if (isDesktop) {
@@ -2154,7 +2152,6 @@ onMounted(async () => {
});
onUnmounted(() => {
stopDialogBackdropSync();
cleanupTauriListeners();
cleanupCloseActionPromptListener();
if (updateCheckTimer) {