Fix keys for Scrollbar

This commit is contained in:
Sasha Koshka 2024-07-27 00:54:40 -04:00
parent 9fa764c7b9
commit c8d33a0ef4

View File

@ -141,6 +141,8 @@ func (this *Scrollbar) handleKeyUp (key input.Key, numpad bool) bool {
switch key { switch key {
case input.KeyUp, input.KeyLeft: return true case input.KeyUp, input.KeyLeft: return true
case input.KeyDown, input.KeyRight: return true case input.KeyDown, input.KeyRight: return true
case input.KeyPageUp: return true
case input.KeyPageDown: return true
case input.KeyHome: return true case input.KeyHome: return true
case input.KeyEnd: return true case input.KeyEnd: return true
} }