From 9a9e5c95b12eba36721d821574adbdb87e147dbd Mon Sep 17 00:00:00 2001 From: Kamron Bhavnagri Date: Mon, 22 Aug 2022 01:13:14 +1000 Subject: [PATCH] Patched mouse out on Chrome --- build/stats/stats_inject.js | 3 ++- src/components/charts/popup.svelte | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/build/stats/stats_inject.js b/build/stats/stats_inject.js index 03fb804..d84846e 100644 --- a/build/stats/stats_inject.js +++ b/build/stats/stats_inject.js @@ -7154,7 +7154,8 @@ $$invalidate(1, show_popup = true); }; const mouse_out = () => { - $$invalidate(1, show_popup = false); + if (window["chrome"] === void 0) + $$invalidate(1, show_popup = false); }; $$self.$$set = ($$props2) => { if ("data" in $$props2) diff --git a/src/components/charts/popup.svelte b/src/components/charts/popup.svelte index 6e71feb..6d80085 100644 --- a/src/components/charts/popup.svelte +++ b/src/components/charts/popup.svelte @@ -29,7 +29,7 @@ } export const mouse_out = () => { - show_popup = false + if (window["chrome"] === undefined) show_popup = false }