Fix clickables not obeying mergeAdjacent

This commit is contained in:
thepaperpilot 2022-03-13 11:00:44 -05:00
parent 56d3a21440
commit 8170f240c8

View file

@ -1,10 +1,10 @@
<template>
<div
v-if="unref(visibility) !== Visibility.None"
:style="{ visibility: unref(visibility) === Visibility.Hidden ? 'hidden' : undefined }"
>
<button
:style="unref(style)"
v-if="unref(visibility) !== Visibility.None"
:style="[
{ visibility: unref(visibility) === Visibility.Hidden ? 'hidden' : undefined },
unref(style) ?? []
]"
@click="onClick"
@mousedown="start"
@mouseleave="stop"
@ -25,7 +25,6 @@
<MarkNode :mark="unref(mark)" />
<LinkNode :id="id" />
</button>
</div>
</template>
<script lang="tsx">