Commit c25a1aa8 by Tomas Alabes

AddEvent function incorrectly removes touch event listener. By @ThijsVanDerMeer

parent 3e8f3192
...@@ -2746,7 +2746,7 @@ ...@@ -2746,7 +2746,7 @@
obj.removeEventListener(type, f, false); obj.removeEventListener(type, f, false);
if (supportsTouch && touchMap[type]) if (supportsTouch && touchMap[type])
obj.removeEventListener(touchMap[type], f, false); obj.removeEventListener(touchMap[type], _f, false);
return true; return true;
}; };
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -3125,7 +3125,7 @@ ...@@ -3125,7 +3125,7 @@
obj.removeEventListener(type, f, false); obj.removeEventListener(type, f, false);
if (supportsTouch && touchMap[type]) if (supportsTouch && touchMap[type])
obj.removeEventListener(touchMap[type], f, false); obj.removeEventListener(touchMap[type], _f, false);
return true; return true;
}; };
...@@ -7298,6 +7298,7 @@ ...@@ -7298,6 +7298,7 @@
"blur" in params && o.blur(params.blur); "blur" in params && o.blur(params.blur);
if (params.path && o.type == "path" || newpath) { if (params.path && o.type == "path" || newpath) {
node.path = path2vml(~Str(a.path).toLowerCase().indexOf("r") ? R._pathToAbsolute(a.path) : a.path); node.path = path2vml(~Str(a.path).toLowerCase().indexOf("r") ? R._pathToAbsolute(a.path) : a.path);
o._.dirty = 1;
if (o.type == "image") { if (o.type == "image") {
o._.fillpos = [a.x, a.y]; o._.fillpos = [a.x, a.y];
o._.fillsize = [a.width, a.height]; o._.fillsize = [a.width, a.height];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment