projects
/
lantea.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
517c009
)
log pinch widths
author
Robert Kaiser
<robert@widebook.box.kairo.at>
Fri, 16 Aug 2013 04:42:18 +0000
(06:42 +0200)
committer
Robert Kaiser
<robert@widebook.box.kairo.at>
Fri, 16 Aug 2013 04:42:18 +0000
(06:42 +0200)
js/map.js
patch
|
blob
|
blame
|
history
diff --git
a/js/map.js
b/js/map.js
index 2ecd3a4de86574dcf6e0cc1dc3d7a4e711ccbc4e..ce664298e6c478fd3c08576f26b99fe7565c87ac 100644
(file)
--- a/
js/map.js
+++ b/
js/map.js
@@
-512,6
+512,7
@@
var mapEvHandler = {
Math.pow(aEvent.targetTouches.item(1).clientY -
aEvent.targetTouches.item(0).clientY, 2)
);
+ console.log(gPinchStartWidth + ' <?> ' + curPinchStartWidth);
if (gPinchStartWidth / curPinchStartWidth > 1.7 ||
gPinchStartWidth / curPinchStartWidth < 0.6) {
var newZoomLevel = gPos.z + (gPinchStartWidth < curPinchStartWidth ? 1 : -1);