Skip to content

Commit

Permalink
don't include hoverable objects as potential mouse click event targets
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth authored Aug 5, 2024
1 parent 7abcad1 commit 24df77c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/driver/glfw/window.go
Original file line number Diff line number Diff line change
Expand Up @@ -523,7 +523,7 @@ func (w *window) processMouseClicked(button desktop.MouseButton, action action,

co, pos, _ := w.findObjectAtPositionMatching(w.canvas, mousePos, func(object fyne.CanvasObject) bool {
switch object.(type) {
case fyne.Tappable, fyne.SecondaryTappable, fyne.DoubleTappable, fyne.Focusable, desktop.Mouseable, desktop.Hoverable:
case fyne.Tappable, fyne.SecondaryTappable, fyne.DoubleTappable, fyne.Focusable, desktop.Mouseable:
return true
case fyne.Draggable:
if mouseDragStarted {
Expand Down

0 comments on commit 24df77c

Please sign in to comment.