Skip to content

Commit

Permalink
fix: variant toolbar disappearing
Browse files Browse the repository at this point in the history
  • Loading branch information
comatory committed Nov 7, 2023
1 parent e9884ec commit 9c1ed9b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions js/ui/tools.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion service-worker.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9c1ed9b

Please sign in to comment.