deinstapel / cursive-tabs

Tabs for gyscos/cursive views 🖥️
BSD 3-Clause "New" or "Revised" License
24 stars 8 forks source link

Fix mouse event focus grab #7

Closed gyscos closed 4 years ago

gyscos commented 4 years ago

This skips the focus-change check for mouse events that should not affect focus, such as "Hold" and "Release". In addition, it changes the "direction" of focus to none, which helps keep the current focus for child views.

jwuensche commented 4 years ago

Hi gyscos, thanks for the PR! Your changes look good, I tested them locally and everything seems to work as expected. I'll merge them right away. Glad we can clean some of the older code :grin: