Skip to content

Commit 3db2c10

Browse files
committed
fix: adjusting class so Line behaves well in v-drag setting
1 parent b22cce0 commit 3db2c10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

components/Line.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ onClickOutside(clickArea, () => emit('clickOutside'))
4949
</script>
5050

5151
<template>
52-
<svg class="absolute left-0 top-0" :width="Math.max(+x1, +x2) + 50" :height="Math.max(+y1, +y2) + 50">
52+
<svg class="absolute left-0 top-0 z-100" :width="Math.max(+x1, +x2) + 50" :height="Math.max(+y1, +y2) + 50">
5353
<line :x1 :y1 :x2 :y2 class="cls-1" :class="colorscheme" :stroke-width="width || 2" @dblclick="emit('dblclick')" />
5454
<line
5555
ref="clickArea"

0 commit comments

Comments
 (0)