View Single Post
Old 05-04-2023, 07:48 AM   #552
kaznelson
Old Kaz
kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.kaznelson ought to be getting tired of karma fortunes by now.
 
kaznelson's Avatar
 
Posts: 208
Karma: 1064151
Join Date: May 2010
Device: PocketBook Era
Quote:
Originally Posted by NiLuJe View Post
Don't overwrite `GestureDetector.init`, just `GestureDetector.PAN_THRESHOLD`
Also doesn't work:
Code:
local GestureDetector = require("device/gesturedetector")
GestureDetector.PAN_THRESHOLD = GestureDetector.screen:scaleByDPI(70)
Thank you anyway.
It's too difficult for me, I'll edit `gesturedetector.lua` directly...
kaznelson is offline   Reply With Quote