-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Strengthen semantics of child node order #5
Comments
It may be worth strengthening the semanics of component selection a bit more. At least, it'd mean that the fix to this is a single line change. Essentially, what happens now is that when the cursor overlaps a component, each child of that component is checked in turn to see if the cursor overlaps any of them. The idea being that the most specific child components (ie. the leaves of the tree) should receive events first and then pass them back up the tree if they don't handle them. Right now, for a given component
The "fix" (read: workaround that depends on undeclared semantics) is to add the titlebar first. |
It feels like the most recently added component should take priority. It has nicer properties such as being able to make a component take priority by simply detaching and re-adding it. If the first component takes priority, then either an extra API needs to be added (via Unfortunately, this means that the way |
... Until a better solution comes along. Affects #5
With
PLACEMENT_TOP_OVERLAP_FRAME
, any region of the frame underneath the titlebar will receive mouse events instead of the titlebar. This is in keeping with the component model, but is unfortunate!The text was updated successfully, but these errors were encountered: