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

refactor: mousedown instead click on tabs and explorebar elements

This commit is contained in:
2021-07-23 15:45:06 +02:00
parent d7fdf53932
commit e106d100b5
2 changed files with 7 additions and 7 deletions

View File

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