Skip to content

Commit

Permalink
Fix rename menu causing tabs to drag
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Sep 5, 2024
1 parent 87f9127 commit a0f6ace
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hub/Tabs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export default class Tabs {
});
});
this.SCROLL_OVERLAY.addEventListener("contextmenu", (event) => {
mouseDownInfo = null;
this.tabList.forEach((tab, index) => {
if (index === 0) return;
let rect = tab.titleElement.getBoundingClientRect();
Expand Down

0 comments on commit a0f6ace

Please sign in to comment.