add genres to album filters panel

This commit is contained in:
Drew Weymouth
2023-05-18 18:10:09 -07:00
parent 8f4f13733a
commit e8ab651d9d
5 changed files with 222 additions and 7 deletions
+5 -1
View File
@@ -11,7 +11,8 @@ import (
type TappableIcon struct {
widget.Icon
OnTapped func()
NoPointerCursor bool
OnTapped func()
}
func NewTappbaleIcon(res fyne.Resource) *TappableIcon {
@@ -42,6 +43,9 @@ func (t *TappableIcon) MouseOut() {}
func (t *TappableIcon) MouseMoved(*desktop.MouseEvent) {}
func (t *TappableIcon) Cursor() desktop.Cursor {
if t.NoPointerCursor {
return desktop.DefaultCursor
}
return desktop.PointerCursor
}