Skip to content

Commit

Permalink
don't show tracklist row hover indicator when favorite toggle is hovered
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth committed Mar 23, 2023
1 parent 6a4eaf9 commit f34d432
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions ui/widgets/tappablewrappers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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
}
Expand Down

0 comments on commit f34d432

Please sign in to comment.