We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06ac1c9 commit 10d9471Copy full SHA for 10d9471
web_src/js/components/ViewFileTreeItem.vue
@@ -43,8 +43,8 @@ const doLoadDirContent = () => {
43
const doLoadFileContent = (event: MouseEvent) => {
44
// open the file in a new tab if either
45
// - the auxiliary button (usually the mouse wheel button) is the origin of the click
46
- // - the ctrl key was pressed while clicking
47
- const openNewTab = event.button === 1 || event.ctrlKey;
+ // - the ctrl key or meta key (for mac support) was pressed while clicking
+ const openNewTab = event.button === 1 || event.ctrlKey || event.metaKey;
48
props.navigateViewContent(props.item.fullPath, openNewTab);
49
};
50
0 commit comments