drag&drop multitouch

This commit is contained in:
Anton Lavrenov
2019-08-04 14:38:57 +07:00
parent 1d932bf76c
commit 34f0f4ae33
17 changed files with 1923 additions and 595 deletions

View File

@@ -58,8 +58,8 @@ suite('DragAndDropEvents', function() {
assert(!Konva.isDragReady(), ' isDragReady()) should be false 2');
/*
* simulate drag and drop
*/
* simulate drag and drop
*/
stage.simulateMouseDown({
x: 380,
y: 98
@@ -328,8 +328,8 @@ suite('DragAndDropEvents', function() {
var top = stage.content.getBoundingClientRect().top;
/*
* simulate drag and drop
*/
* simulate drag and drop
*/
stage.simulateMouseDown({
x: 380,
y: 100
@@ -391,8 +391,8 @@ suite('DragAndDropEvents', function() {
var top = stage.content.getBoundingClientRect().top;
/*
* simulate drag and drop
*/
* simulate drag and drop
*/
stage.simulateMouseDown({
x: 399,
y: 96
@@ -450,8 +450,8 @@ suite('DragAndDropEvents', function() {
assert.equal(stage.getY(), 0);
/*
* simulate drag and drop
*/
* simulate drag and drop
*/
stage.simulateMouseDown({
x: 0,
y: 100