mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
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:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user