GestureDetector: Full refactor for almost-sane(TM) MT gesture handling (#9463)

Should hopefully make two-contact gestures *much* more reliable, among other things.

See the PR for all the details ;).
This commit is contained in:
NiLuJe
2022-09-04 02:38:27 +02:00
committed by GitHub
parent f2b9c5bdaf
commit 8e1bb9bafc
17 changed files with 887 additions and 451 deletions

View File

@@ -134,7 +134,7 @@ local PROGRESS_BAR_STYLE_THICK_DEFAULT_HEIGHT = 7
local PROGRESS_BAR_STYLE_THIN_DEFAULT_HEIGHT = 3
-- android: guidelines for rounded corner margins
local material_pixels = 16 * math.floor(Screen:getDPI() / 160)
local material_pixels = Screen:scaleByDPI(16)
-- functions that generates footer text for each mode
local footerTextGeneratorMap = {