mirror of
https://github.com/konvajs/konva.git
synced 2026-01-08 18:54:40 +08:00
added isDraggable back to Node
This commit is contained in:
@@ -100,6 +100,13 @@
|
||||
});
|
||||
}
|
||||
},
|
||||
/*
|
||||
* the default isDraggable method returns false.
|
||||
* if the DragAndDrop module is included, this is overwritten
|
||||
*/
|
||||
isDraggable: function() {
|
||||
return false;
|
||||
},
|
||||
/*
|
||||
* when the logic for a cached result depends on descendant propagation, use this
|
||||
* method to clear self and ancestor cache
|
||||
|
||||
Reference in New Issue
Block a user