[keyboard layout] Fix scroll with trackpads
onWheel is a bit messy with trackpads. It we just compare > 0 our scroll rate is effectively determined by the refresh rate of the device. Use of 120 "wheels" is a common pattern used elsewhere. Code is effectively copied from plasma-pa The switch to previous/next direction I copied what was existing.
parent
38c61fcb
Please register or sign in to comment