don't show tracklist row hover indicator when favorite toggle is hovered

This commit is contained in:
Drew Weymouth
2023-03-22 17:41:52 -07:00
parent 6a4eaf9606
commit f34d4329b1
+10
View File
@@ -22,6 +22,8 @@ func NewTappbaleIcon(res fyne.Resource) *TappableIcon {
return icon
}
var _ fyne.Tappable = (*TappableIcon)(nil)
func (t *TappableIcon) Tapped(_ *fyne.PointEvent) {
if t.OnTapped != nil {
t.OnTapped()
@@ -31,6 +33,14 @@ func (t *TappableIcon) Tapped(_ *fyne.PointEvent) {
func (t *TappableIcon) TappedSecondary(_ *fyne.PointEvent) {
}
var _ desktop.Hoverable = (*TappableIcon)(nil)
func (t *TappableIcon) MouseIn(*desktop.MouseEvent) {}
func (t *TappableIcon) MouseOut() {}
func (t *TappableIcon) MouseMoved(*desktop.MouseEvent) {}
func (t *TappableIcon) Cursor() desktop.Cursor {
return desktop.PointerCursor
}