Skip to content

Commit

Permalink
fix: set default to use up-to-date instance
Browse files Browse the repository at this point in the history
  • Loading branch information
Belar committed Feb 24, 2025
1 parent 9df3411 commit 037f1b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/base/scripts/instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ function createInstancePanel(instance, template) {
const panelElement = typedQuerySelector(".panel", HTMLElement, instancePanel);
if (panelElement) {
panelElement.addEventListener("contextmenu", async () => {
const { id, origin, color } = instance;

await disableSettingsFocusTrap();

showContextMenu(panelElement, [
Expand Down

0 comments on commit 037f1b2

Please sign in to comment.