chore: update revue-draggable to latest version
fix: selection not draggable after creation selection (stop event propagation) * naming collision with eventlistener and callback on draggable component (everything being called 2x)
This commit is contained in:
@@ -162,14 +162,12 @@ export default (NodeComponent: DefineComponent<WrapNodeProps>) => {
|
||||
}
|
||||
]);
|
||||
|
||||
const scale = computed(() => store.transform[2] || 1);
|
||||
|
||||
return () => (
|
||||
<DraggableCore
|
||||
start={onDragStart}
|
||||
move={onDrag}
|
||||
stop={onDragStop}
|
||||
scale={scale.value}
|
||||
scale={store.transform[2]}
|
||||
disabled={!props.isDraggable}
|
||||
cancel=".nodrag"
|
||||
grid={grid.value}
|
||||
|
||||
Reference in New Issue
Block a user