mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
fix style error
This commit is contained in:
parent
73badf06b0
commit
00a05ee839
@ -172,7 +172,6 @@
|
|||||||
ns.DrawingController.prototype.onMousemove_ = function (event) {
|
ns.DrawingController.prototype.onMousemove_ = function (event) {
|
||||||
this._clientX = event.clientX;
|
this._clientX = event.clientX;
|
||||||
this._clientY = event.clientY;
|
this._clientY = event.clientY;
|
||||||
|
|
||||||
if (typeof event.targetTouches != 'undefined' &&
|
if (typeof event.targetTouches != 'undefined' &&
|
||||||
typeof event.targetTouches[0] != 'undefined' &&
|
typeof event.targetTouches[0] != 'undefined' &&
|
||||||
typeof event.targetTouches[0].pageX != 'undefined' &&
|
typeof event.targetTouches[0].pageX != 'undefined' &&
|
||||||
@ -272,7 +271,6 @@
|
|||||||
typeof event.changedTouches[0] != 'undefined' &&
|
typeof event.changedTouches[0] != 'undefined' &&
|
||||||
typeof event.changedTouches[0].pageX != 'undefined' &&
|
typeof event.changedTouches[0].pageX != 'undefined' &&
|
||||||
typeof event.changedTouches[0].pageY != 'undefined') {
|
typeof event.changedTouches[0].pageY != 'undefined') {
|
||||||
|
|
||||||
coords = this.getSpriteCoordinates(event.changedTouches[0].pageX, event.changedTouches[0].pageY);
|
coords = this.getSpriteCoordinates(event.changedTouches[0].pageX, event.changedTouches[0].pageY);
|
||||||
}
|
}
|
||||||
if (this.isClicked) {
|
if (this.isClicked) {
|
||||||
|
Loading…
Reference in New Issue
Block a user