Fix mouse motion not being passed to input areas

This commit is contained in:
Tulir Asokan 2020-02-19 00:05:05 +02:00
parent 2a4755b712
commit b4e27723d7

View File

@ -216,9 +216,6 @@ defaultHandler:
const WheelScrollOffsetDiff = 3
func (view *MainView) OnMouseEvent(event mauview.MouseEvent) bool {
if event.HasMotion() {
return false
}
if view.modal != nil {
return view.modal.OnMouseEvent(event)
}