mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
fire correct method for draganddrop cancel
This commit is contained in:
@@ -502,6 +502,10 @@ export default {
|
||||
}
|
||||
},
|
||||
dragCancel() {
|
||||
if (this.mode == MODE_IDLE) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.additionalRowComputed = false;
|
||||
this.tempPositionUpdates = null;
|
||||
this.draggedOffset = [0,0];
|
||||
@@ -589,7 +593,7 @@ export default {
|
||||
@start-move="startMove"
|
||||
@start-resize="startResize"
|
||||
@drag="moveGhostImage"
|
||||
@dragend="dragEnd"
|
||||
@dragend="dragCancel"
|
||||
>
|
||||
<template v-slot="item">
|
||||
<slot
|
||||
|
||||
Reference in New Issue
Block a user