From 9c1ed9b1ddbbe35da20466c801eab5ef556a580b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Syn=C3=A1=C4=8Dek?= Date: Tue, 7 Nov 2023 21:46:39 +0100 Subject: [PATCH] fix: variant toolbar disappearing --- js/ui/tools.mjs | 10 ---------- service-worker.js | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/js/ui/tools.mjs b/js/ui/tools.mjs index 5e21988..48903a1 100644 --- a/js/ui/tools.mjs +++ b/js/ui/tools.mjs @@ -42,16 +42,6 @@ export function createToolPanel({ state }) { button.addEventListener( "click", () => { - if (disposeVariantsCallback) { - disposeVariantsCallback(); - disposeVariantsCallback = null; - } - - if (disposeActionsCallback) { - disposeActionsCallback(); - disposeActionsCallback = null; - } - setTool(tool, { state }); }, true, diff --git a/service-worker.js b/service-worker.js index dcdcd4e..b480cee 100644 --- a/service-worker.js +++ b/service-worker.js @@ -1,5 +1,5 @@ const STATIC_CACHE_NAME = "static"; -const STATIC_CACHE_VERSION = "v28"; +const STATIC_CACHE_VERSION = "v29"; const STATIC_CACHE_ID = `${STATIC_CACHE_NAME}-${STATIC_CACHE_VERSION}`; // All the files need to be added here manually. I want to avoid