Skip to content

Commit

Permalink
Close tab on click, instead of just mousedown
Browse files Browse the repository at this point in the history
  • Loading branch information
FoxRefire committed Sep 8, 2024
1 parent d74c2f7 commit 17492d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sidebar/components/tab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
.title(v-else) {{tab.reactive.customTitle ?? tab.reactive.title}}
.close(
v-if="!iconOnly && Settings.state.tabRmBtn !== 'none'"
@mousedown.stop="onMouseDownClose"
@click.stop="onMouseDownClose"
@mouseup.stop="onMouseUpClose"
@contextmenu.stop.prevent)
svg.close-icon: use(xlink:href="#icon_remove")
Expand Down

0 comments on commit 17492d6

Please sign in to comment.