Change scrolling speed from 16 to 32
This commit is contained in:
parent
6eff6887e7
commit
a9ac9f6600
@ -13,7 +13,7 @@ type scrollSum struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// TODO: this needs to be configurable, we need a config api
|
// TODO: this needs to be configurable, we need a config api
|
||||||
const scrollDistance = 16
|
const scrollDistance = 32
|
||||||
|
|
||||||
func (sum *scrollSum) add (button xproto.Button, window *window, state uint16) {
|
func (sum *scrollSum) add (button xproto.Button, window *window, state uint16) {
|
||||||
if xgbkb.StateToModifiers(state).Shift {
|
if xgbkb.StateToModifiers(state).Shift {
|
||||||
|
Loading…
Reference in New Issue
Block a user