From 17492d633ed408fa42d95d3cf382b0577b71ca6b Mon Sep 17 00:00:00 2001 From: FoxRefire <155989196+FoxRefire@users.noreply.github.com> Date: Sun, 8 Sep 2024 07:57:08 +0900 Subject: [PATCH] Close tab on click, instead of just mousedown --- src/sidebar/components/tab.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sidebar/components/tab.vue b/src/sidebar/components/tab.vue index 7f7055eb..72f28d25 100644 --- a/src/sidebar/components/tab.vue +++ b/src/sidebar/components/tab.vue @@ -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")