From f79d84ad6e00e1b9a0e41fec38d4f12d83d52a22 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Thu, 18 Jan 2024 17:18:49 +0900 Subject: [PATCH] feat: add new setting to disable blur for low-performance device (#2561) --- components/main/MainContent.vue | 6 +++++- components/modal/ModalDialog.vue | 9 ++++++++- components/nav/NavBottomMoreMenu.vue | 8 ++++++-- composables/settings/definition.ts | 2 ++ locales/en.json | 1 + pages/settings/preferences/index.vue | 6 ++++++ 6 files changed, 28 insertions(+), 4 deletions(-) diff --git a/components/main/MainContent.vue b/components/main/MainContent.vue index 1ab34746..312b5e52 100644 --- a/components/main/MainContent.vue +++ b/components/main/MainContent.vue @@ -10,6 +10,7 @@ defineProps<{ const container = ref() const route = useRoute() +const userSettings = useUserSettings() const { height: windowHeight } = useWindowSize() const { height: containerHeight } = useElementBounding(container) const wideLayout = computed(() => route.meta.wideLayout ?? false) @@ -26,10 +27,13 @@ const containerClass = computed(() => {