configure what mouse buttons can be used for drag&drop

This commit is contained in:
Anton Lavrenov
2019-02-14 10:33:58 -05:00
parent dcff79eb63
commit 1dea3696a2
8 changed files with 60 additions and 26 deletions

View File

@@ -21,11 +21,6 @@ function getDummyContext() {
return dummyContext;
}
// TODO: write a test for adding destroyed shape into the layer
// will it draw?
// will it pass hit test?
// show warning on adding destroyed shape?
// TODO: idea - use only "remove" (or destroy method)
// how? on add, check that every inner shape has reference in konva store with color
// on remove - clear that reference