Made tooltips' onClick in capture mode

This commit is contained in:
thepaperpilot 2022-04-23 14:39:51 -05:00
parent 6ed9f3da53
commit bef5272ab5

View file

@ -4,7 +4,7 @@
:class="{ shown: isShown, ...unref(classes) }" :class="{ shown: isShown, ...unref(classes) }"
@mouseenter="isHovered = true" @mouseenter="isHovered = true"
@mouseleave="isHovered = false" @mouseleave="isHovered = false"
@click="togglePinned" @click.capture="togglePinned"
:style="unref(style)" :style="unref(style)"
> >
<slot /> <slot />