From 9d1d369f37300e78f7fcb40ec001630718e1f60b Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Wed, 8 Nov 2023 18:47:40 +0530 Subject: [PATCH] fix: performance issues due to mouse on header detection --- .../hoppscotch-common/src/components.d.ts | 1 - .../src/components/app/Header.vue | 2 ++ packages/hoppscotch-common/src/platform/ui.ts | 5 ++++ .../hoppscotch-selfhost-desktop/src/main.ts | 29 ++++--------------- 4 files changed, 12 insertions(+), 25 deletions(-) diff --git a/packages/hoppscotch-common/src/components.d.ts b/packages/hoppscotch-common/src/components.d.ts index b1ad46569..786d61c73 100644 --- a/packages/hoppscotch-common/src/components.d.ts +++ b/packages/hoppscotch-common/src/components.d.ts @@ -92,7 +92,6 @@ declare module '@vue/runtime-core' { HoppButtonPrimary: typeof import('@hoppscotch/ui')['HoppButtonPrimary'] HoppButtonSecondary: typeof import('@hoppscotch/ui')['HoppButtonSecondary'] HoppSmartAnchor: typeof import('@hoppscotch/ui')['HoppSmartAnchor'] - HoppSmartAutoComplete: typeof import('@hoppscotch/ui')['HoppSmartAutoComplete'] HoppSmartCheckbox: typeof import('@hoppscotch/ui')['HoppSmartCheckbox'] HoppSmartConfirmModal: typeof import('@hoppscotch/ui')['HoppSmartConfirmModal'] HoppSmartExpand: typeof import('@hoppscotch/ui')['HoppSmartExpand'] diff --git a/packages/hoppscotch-common/src/components/app/Header.vue b/packages/hoppscotch-common/src/components/app/Header.vue index 56d20804d..bb37de6a9 100644 --- a/packages/hoppscotch-common/src/components/app/Header.vue +++ b/packages/hoppscotch-common/src/components/app/Header.vue @@ -1,7 +1,9 @@