This PR adds LifeCycle::HotChanged handling to ScrollComponent which allows it to hide the scroll bars when the widget loses hot state but doesn't receive any MouseMove events that would confirm this. This bug was hidden on GTK thanks to #552 but revealed again due to #2324.
The fix can be seen in action with the scroll_colors example as seen below:
This PR adds
LifeCycle::HotChanged
handling toScrollComponent
which allows it to hide the scroll bars when the widget loses hot state but doesn't receive anyMouseMove
events that would confirm this. This bug was hidden on GTK thanks to #552 but revealed again due to #2324.The fix can be seen in action with the
scroll_colors
example as seen below: