aboutsummaryrefslogtreecommitdiff
path: root/ui
diff options
context:
space:
mode:
authorTulir Asokan <tulir@maunium.net>2020-02-19 00:05:05 +0200
committerTulir Asokan <tulir@maunium.net>2020-02-19 00:05:05 +0200
commitb4e27723d7ad6287d34f4cfc1f5a15b0074b59d1 (patch)
treef132e807f520ad3ccc2295debded95969cbfb426 /ui
parent2a4755b712698177dc5c822d8b77e5bfbc7d7a8e (diff)
Fix mouse motion not being passed to input areas
Diffstat (limited to 'ui')
-rw-r--r--ui/view-main.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/ui/view-main.go b/ui/view-main.go
index af971a6..2c5b691 100644
--- a/ui/view-main.go
+++ b/ui/view-main.go
@@ -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)
}