1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

fix(UI): tabs or explorebar elements selected with mouse wheel or right button

This commit is contained in:
2021-07-23 22:41:53 +02:00
parent 425f0663f9
commit a8a47ed5f7
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
class="tab-item tab-draggable"
draggable="true"
:class="{'active': selectedTab === tab.uid}"
@mousedown="selectTab({uid: workspace.uid, tab: tab.uid})"
@mousedown.left="selectTab({uid: workspace.uid, tab: tab.uid})"
@mouseup.middle="closeTab(tab)"
>
<a v-if="tab.type === 'query'" class="tab-link">