hook up keyboard scrolling to Now Playing page tracklists

This commit is contained in:
Drew Weymouth
2024-07-13 09:10:13 -07:00
parent 15811e654e
commit 69a1900cb5
2 changed files with 16 additions and 0 deletions
+4
View File
@@ -164,6 +164,10 @@ func (p *PlayQueueList) UnselectAll() {
p.list.Refresh()
}
func (p *PlayQueueList) Scroll(amount float32) {
p.list.ScrollToOffset(p.list.GetScrollOffset() + amount)
}
func (p *PlayQueueList) Refresh() {
p.list.EnableDragging = p.Reorderable
p.BaseWidget.Refresh()