mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-08 07:39:27 +00:00
move draggable from item to the buttons
This commit is contained in:
@@ -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'}"
|
||||
>
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user