dragstart fixes when transformer is used

This commit is contained in:
Anton Lavrenov
2020-09-02 12:50:41 -05:00
parent 7ae8415da8
commit 4a29a1e109
7 changed files with 73 additions and 1327 deletions

View File

@@ -227,6 +227,15 @@ beforeEach(function () {
Konva.inDblClickWindow = false;
Konva.DD && (Konva.DD.isDragging = false);
Konva.DD && (Konva.DD.node = undefined);
if (
!(
this.currentTest.body.indexOf('assert') !== -1 ||
this.currentTest.body.toLowerCase().indexOf('compare') !== -1
)
) {
debugger;
}
});
Konva.UA.mobile = false;