Skip to content

Commit 4e39e92

Browse files
author
Javi Jiménez
committed
Merge pull request soyjavi#118 from TNT-RoX/patch-1
Handel distances for different pixel densities
2 parents d72a64b + a56abf6 commit 4e39e92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/quo.gestures.swipe.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Quo.Gestures.add
1717
"swiping", "swipingHorizontal", "swipingVertical"]
1818

1919
handler : do (base = Quo.Gestures) ->
20-
GAP = 20
20+
GAP = (if window.devicePixelRatio >= 2 then 15 else 20)
2121
_target = null
2222
_start = null
2323
_start_axis = null

0 commit comments

Comments
 (0)