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

Render pane grid titlebar after body #1463

Merged
merged 1 commit into from
Oct 17, 2022

Conversation

tarkah
Copy link
Member

@tarkah tarkah commented Oct 7, 2022

Super edge case fix, but it's not uncommon to draw something with renderer.with_layer (either manually or via canvas frame.with_clip) in the body of a pane, while at the same time having tooltips on something in the titlebar. Since tooltip uses with_layer instead of Overlay, but it's drawn before the body, this causes the tooltips to to be behind what's drawn on the pane body (no ideal).

I propose this is a fine solution until we have better layering support. I think it's way more likely that titlebar has some tooltip / layer that needs to be drawn over body than the other way around.

@hecrj hecrj added the improvement An internal improvement label Oct 17, 2022
@hecrj hecrj added this to the 0.5.0 milestone Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement An internal improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants