Fix mouse motion not being passed to input areas
This commit is contained in:
parent
2a4755b712
commit
b4e27723d7
@ -216,9 +216,6 @@ defaultHandler:
|
|||||||
const WheelScrollOffsetDiff = 3
|
const WheelScrollOffsetDiff = 3
|
||||||
|
|
||||||
func (view *MainView) OnMouseEvent(event mauview.MouseEvent) bool {
|
func (view *MainView) OnMouseEvent(event mauview.MouseEvent) bool {
|
||||||
if event.HasMotion() {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
if view.modal != nil {
|
if view.modal != nil {
|
||||||
return view.modal.OnMouseEvent(event)
|
return view.modal.OnMouseEvent(event)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user