mirror of
https://github.com/konvajs/konva.git
synced 2025-09-19 02:37:59 +08:00
build
This commit is contained in:
@@ -9576,7 +9576,7 @@ var Kinetic = {};
|
||||
|
||||
// workaround for mobile IE to force touch event when unhandled pointer event elevates into a mouse event
|
||||
if (Kinetic.UA.ieMobile) {
|
||||
return _touchmove(evt);
|
||||
return this._touchmove(evt);
|
||||
}
|
||||
|
||||
// workaround fake mousemove event in chrome browser https://code.google.com/p/chromium/issues/detail?id=161464
|
||||
@@ -9635,7 +9635,7 @@ var Kinetic = {};
|
||||
|
||||
// workaround for mobile IE to force touch event when unhandled pointer event elevates into a mouse event
|
||||
if (Kinetic.UA.ieMobile) {
|
||||
return _touchstart(evt);
|
||||
return this._touchstart(evt);
|
||||
}
|
||||
|
||||
if (!Kinetic.UA.mobile) {
|
||||
@@ -9663,7 +9663,7 @@ var Kinetic = {};
|
||||
|
||||
// workaround for mobile IE to force touch event when unhandled pointer event elevates into a mouse event
|
||||
if (Kinetic.UA.ieMobile) {
|
||||
return _touchend(evt);
|
||||
return this._touchend(evt);
|
||||
}
|
||||
if (!Kinetic.UA.mobile) {
|
||||
this._setPointerPosition(evt);
|
||||
@@ -10225,7 +10225,7 @@ var Kinetic = {};
|
||||
_getImageData: function(x, y) {
|
||||
var width = this.hitCanvas.width || 1,
|
||||
height = this.hitCanvas.height || 1,
|
||||
index = (y * width ) + x;
|
||||
index = (Math.round(y) * width ) + Math.round(x);
|
||||
|
||||
if (!this._hitImageData) {
|
||||
this._hitImageData = this.hitCanvas.context.getImageData(0, 0, width, height);
|
||||
|
2
kinetic.min.js
vendored
2
kinetic.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user