You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently gesture detection works something like this:
when user swipes more than X pixels in one direction, we detect a swipe gesture and do gesture things.
the value of X is a base constant scaled by the config value sensitivity. This is awful because different devices will need different sensitivity values and makes gestures very inconsistent.
I plan to replace pixel thresholds with physical dimensions (e.g. millimeter). dp (density independent pixels) seems to be a preferred unit in android development so maybe I'll base it off that
The text was updated successfully, but these errors were encountered:
Currently gesture detection works something like this:
when user swipes more than X pixels in one direction, we detect a swipe gesture and do gesture things.
the value of X is a base constant scaled by the config value
sensitivity
. This is awful because different devices will need different sensitivity values and makes gestures very inconsistent.I plan to replace pixel thresholds with physical dimensions (e.g. millimeter).
dp
(density independent pixels) seems to be a preferred unit in android development so maybe I'll base it off thatThe text was updated successfully, but these errors were encountered: