From 40d22b710ea984809b33c0b449bf815dc33caccb Mon Sep 17 00:00:00 2001 From: John Leider Date: Wed, 21 Jun 2023 20:12:26 -0500 Subject: [PATCH] docs(SettingsDrawer): remove lazy loading --- packages/docs/src/components/app/bar/SettingsToggle.vue | 7 ------- packages/docs/src/components/app/settings/Drawer.vue | 1 - packages/docs/src/store/app.ts | 2 -- 3 files changed, 10 deletions(-) diff --git a/packages/docs/src/components/app/bar/SettingsToggle.vue b/packages/docs/src/components/app/bar/SettingsToggle.vue index 2e98ca0427b..e40de42ab38 100644 --- a/packages/docs/src/components/app/bar/SettingsToggle.vue +++ b/packages/docs/src/components/app/bar/SettingsToggle.vue @@ -4,7 +4,6 @@ color="medium-emphasis" icon="mdi-cog-outline" path="settings" - @mouseenter.once="onMouseenter" @click="onClick" /> @@ -25,10 +24,4 @@ app.settings = !app.settings } - - function onMouseenter () { - if (app.settingsCanShow) return - - app.settingsCanShow = true - } diff --git a/packages/docs/src/components/app/settings/Drawer.vue b/packages/docs/src/components/app/settings/Drawer.vue index 130669c858a..08c92db737b 100644 --- a/packages/docs/src/components/app/settings/Drawer.vue +++ b/packages/docs/src/components/app/settings/Drawer.vue @@ -1,6 +1,5 @@