move draggable from item to the buttons

This commit is contained in:
chfhtw
2026-03-30 13:37:26 +02:00
parent 2354746d4f
commit dec83bbd21
2 changed files with 2 additions and 1 deletions
+2
View File
@@ -161,6 +161,7 @@ export default {
type="button"
drag-action="move"
class="col-auto mx-2 px-2 cursor-move"
draggable="true"
aria-label="move widget"
v-tooltip="{showDelay:1000, value:'move widget'}"
>
@@ -218,6 +219,7 @@ export default {
type="button"
drag-action="resize"
class="col-auto px-1 cursor-ns-resize"
draggable="true"
aria-label="resize widget"
v-tooltip="{showDelay:1000, value:'resize widget'}"
>
-1
View File
@@ -66,7 +66,6 @@ export default {
template: /* html */`
<div
class="drop-grid-item"
:draggable="active && !item.placeholder"
@mousedown="registerDragAction"
@mouseup="$emit('mouseUp', $event)"
@touchstart="touchStart"