don't show tracklist row hover indicator when favorite toggle is hovered
This commit is contained in:
@@ -22,6 +22,8 @@ func NewTappbaleIcon(res fyne.Resource) *TappableIcon {
|
|||||||
return icon
|
return icon
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var _ fyne.Tappable = (*TappableIcon)(nil)
|
||||||
|
|
||||||
func (t *TappableIcon) Tapped(_ *fyne.PointEvent) {
|
func (t *TappableIcon) Tapped(_ *fyne.PointEvent) {
|
||||||
if t.OnTapped != nil {
|
if t.OnTapped != nil {
|
||||||
t.OnTapped()
|
t.OnTapped()
|
||||||
@@ -31,6 +33,14 @@ func (t *TappableIcon) Tapped(_ *fyne.PointEvent) {
|
|||||||
func (t *TappableIcon) TappedSecondary(_ *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 {
|
func (t *TappableIcon) Cursor() desktop.Cursor {
|
||||||
return desktop.PointerCursor
|
return desktop.PointerCursor
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user