Skip to content

Commit 739798a

Browse files
committed
feat: tab bar context menu option includes keyboard shortcuts now
1 parent b10c829 commit 739798a

File tree

2 files changed

+141
-254
lines changed

2 files changed

+141
-254
lines changed

src/extensionsIntegrated/TabBar/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ define(function (require, exports, module) {
553553
const paneId = isSecondPane ? "second-pane" : "first-pane";
554554

555555
// show the context menu at mouse position
556-
MoreOptions.showMoreOptionsContextMenu(paneId, event.pageX, event.pageY, filePath);
556+
MoreOptions.showMoreOptionsContextMenu(paneId, filePath, event.pageX, event.pageY);
557557
});
558558
}
559559

@@ -768,6 +768,7 @@ define(function (require, exports, module) {
768768
// handle when a single tab gets clicked
769769
handleTabClick();
770770

771+
MoreOptions.init();
771772
Overflow.init();
772773
DragDrop.init($("#phoenix-tab-bar"), $("#phoenix-tab-bar-2"));
773774

0 commit comments

Comments
 (0)