abouttreesummaryrefslogcommitdiff
path: root/srcs/juloo.keyboard2/Autocapitalisation.java
diff options
context:
space:
mode:
authorJules Aguillon2022-11-13 14:43:53 +0100
committerJules Aguillon2022-11-13 14:43:53 +0100
commite213834f674223ca3f63cb7c57698b7b17ba6fde (patch)
treea683b466d59f4e73f85c2c657c485ba7714a99d5 /srcs/juloo.keyboard2/Autocapitalisation.java
parentb102ad90781487dd00a8147330eb0c430f0ba503 (diff)
downloadunexpected-keyboard-e213834f674223ca3f63cb7c57698b7b17ba6fde.tar.gz
unexpected-keyboard-e213834f674223ca3f63cb7c57698b7b17ba6fde.zip
Don't depend on dpi values in swipe distance
The dpi values "xdpi" and "ydpi" can have wildly different values on different devices. The new computation defines a baseline and only take into account the dpi values as a ratio. On a 480dpi screen (in both directions), this decrease the value by about 18%. This new distance felt better during testing.
Diffstat (limited to 'srcs/juloo.keyboard2/Autocapitalisation.java')
0 files changed, 0 insertions, 0 deletions