Fixed tree nodes not being clickable on the edges

This commit is contained in:
thepaperpilot 2022-04-27 08:20:09 -05:00
parent d4c1e16fb4
commit 1479c1d44d

View file

@ -7,8 +7,6 @@
can: unref(canClick), can: unref(canClick),
...unref(classes) ...unref(classes)
}" }"
>
<div
@click="onClick" @click="onClick"
@mousedown="start" @mousedown="start"
@mouseleave="stop" @mouseleave="stop"
@ -16,6 +14,8 @@
@touchstart="start" @touchstart="start"
@touchend="stop" @touchend="stop"
@touchcancel="stop" @touchcancel="stop"
>
<div
:style="[ :style="[
{ {
backgroundColor: unref(color), backgroundColor: unref(color),