small bug fixed preventing touch to work on tablet - init _lastTap variable before using it
authorrougeronj
Fri, 18 Sep 2015 16:37:26 +0200
changeset 534 c25e7c9e26a0
parent 533 b7725d8f094d
child 535 4797b25c5dd1
child 543 5f7bebdcfc0d
small bug fixed preventing touch to work on tablet - init _lastTap variable before using it
client/js/renderer/scene.js
--- a/client/js/renderer/scene.js	Fri Sep 18 15:59:44 2015 +0200
+++ b/client/js/renderer/scene.js	Fri Sep 18 16:37:26 2015 +0200
@@ -74,7 +74,8 @@
         _originalScale = 1,
         _zooming = false,
         _lastTapX = 0,
-        _lastTapY = 0;
+        _lastTapY = 0,
+        _lastTap = 0;
 
         this.image_cache = {};
         this.icon_cache = {};