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

Make it possible to use canvas in floating ImGuiWindow #91

Closed
wants to merge 1 commit into from
Closed

Make it possible to use canvas in floating ImGuiWindow #91

wants to merge 1 commit into from

Conversation

jinialadin1
Copy link

Because there was no ImGui::BeginGroup(),
the only first item was correctly aligned, but others move when floating window move around.

Fixed it and it works great with floating window

Before :
before

After :
after

@thedmd
Copy link
Owner

thedmd commented Dec 4, 2020

Thanks. I will take care of this in next release.

@thedmd thedmd self-assigned this Dec 4, 2020
@thedmd
Copy link
Owner

thedmd commented Dec 5, 2020

Thank you. Fix was pushed to deveop branch.

Canvas learned to work with non-zero window positions. Using BeginGroup()/EndGroup() would do too. Yet I choose solution closer to the metal.

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

Successfully merging this pull request may close these issues.

3 participants