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.
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:
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.