You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 26, 2021. It is now read-only.
While trying demos I ran into a small issue. It is not a major one but I think it can be improved. The good example is a slider widget. Start moving thumb of a slider and move a mouse pointer beyond the widget. Widget stops getting events. Now release mouse button. But mouse is still stuck to the slider widget: try moving mouse without clicking and you see that thumb is moving when you move mouse over the slider. It works this way until you do mouse click.
As I see in the code, mouse release event is processed only if the cursor is over the widget that has got mouse down event before. It is checked to generate OnClick event. From my point of view(and UI that I tried before does this way), mouse release must be processed always but in case of the cursor is not withing the old widget are then just untie mouse from widget(under_mose = None?).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
While trying demos I ran into a small issue. It is not a major one but I think it can be improved. The good example is a slider widget. Start moving thumb of a slider and move a mouse pointer beyond the widget. Widget stops getting events. Now release mouse button. But mouse is still stuck to the slider widget: try moving mouse without clicking and you see that thumb is moving when you move mouse over the slider. It works this way until you do mouse click.
As I see in the code, mouse release event is processed only if the cursor is over the widget that has got mouse down event before. It is checked to generate OnClick event. From my point of view(and UI that I tried before does this way), mouse release must be processed always but in case of the cursor is not withing the old widget are then just untie mouse from widget(under_mose = None?).
The text was updated successfully, but these errors were encountered: