fixes #510 preventDefault is no longer fired for mobile devices when an intersected shape is not listening for events

This commit is contained in:
Eric Rowell
2013-07-21 20:14:09 -07:00
parent 217fbf2097
commit 436f170ac2
3 changed files with 164 additions and 155 deletions

View File

@@ -137,7 +137,7 @@ Test.Modules.Tween = {
evt.targetNode.tween.reverse();
});
},
'*simple tween': function(containerId) {
'simple tween': function(containerId) {
var stage = new Kinetic.Stage({
container: containerId,
width: 578,
@@ -942,11 +942,12 @@ Test.Modules.DRAG_AND_DROP = {
showHit(layer);
},
'two draggable shapes': function(containerId) {
'*two draggable shapes': function(containerId) {
var stage = new Kinetic.Stage({
container: containerId,
width: 578,
height: 200
height: 200,
listening: false
});
var layer = new Kinetic.Layer();
var Circle = new Kinetic.Circle({