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

phantom TitleBar rect glitch when conditionnal call to BeginNodeTitleBar #173

Open
vlmillet opened this issue Dec 13, 2022 · 0 comments
Open

Comments

@vlmillet
Copy link

If, from one frame to another, we call or don't call BeginNodeTitleBar on a specific node (depending on a condition for my case), a glitching rect stays on the screen.
It is due to a missing value reset of title bar content rect in BeginNode().

Adding node.TitleBarContentRect = ImRect(); in BeginNode() solves the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant