Skip to content
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

More pane grid fixes #1480

Merged
merged 4 commits into from
Oct 19, 2022
Merged

More pane grid fixes #1480

merged 4 commits into from
Oct 19, 2022

Conversation

tarkah
Copy link
Member

@tarkah tarkah commented Oct 17, 2022

  • dca99f3 - Fixes mouse interactions
  • fb03652 - Renders picked pane last. Similar to Render pane grid titlebar after body #1463, if panes have an internal canvas clip / renderer.with_layer, it's possible for their content to be drawn on top of the picked / dragging pane if the pane is iterated after the picked pane. This ensures picked pane is always rendered last and will therefore always come on top.

- Use `grabbing` interaction while dragging
- Ignore grab interaction when dragging is disabled
native/src/widget/pane_grid.rs Outdated Show resolved Hide resolved
@tarkah tarkah requested a review from hecrj October 19, 2022 20:15
@hecrj hecrj added bug Something isn't working improvement An internal improvement widget labels Oct 19, 2022
@hecrj hecrj added this to the 0.5.0 milestone Oct 19, 2022
Copy link
Member

@hecrj hecrj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 🙇

@tarkah
Copy link
Member Author

tarkah commented Oct 19, 2022

Thanks! bow

Wait! Don't merge, I didn't test and I think I found a bug :P

Edit: Ok, it's fixed in 069371c, I was accidentally using the parent layout for the pane render

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working improvement An internal improvement widget
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants