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

Incomplete overlap #109

Closed
FaresX opened this issue Jan 12, 2024 · 4 comments
Closed

Incomplete overlap #109

FaresX opened this issue Jan 12, 2024 · 4 comments

Comments

@FaresX
Copy link

FaresX commented Jan 12, 2024

When I use CImGui.SetItemAllowOverlap of version 1.89 for two widgets, the latter one can be hovered but not activated. It's fine for 1.82.

@JamesWrigley
Copy link
Member

It hasn't been wrapped yet, but could you try using CImGui.igSetNextItemAllowOverlap()? Apparently SetItemAllowOverlap() was deprecated in 1.89.7, which is after our version of 1.89.5, but I'm wondering if it was broken earlier: https://github.com/ocornut/imgui/blob/docking/imgui.h#L3448

@FaresX
Copy link
Author

FaresX commented Jan 16, 2024

Thank you for your reply. The problem is still there. I have implemented by other methods instead, looking forward to updating to the latest version.

@JamesWrigley
Copy link
Member

Ok, we'll keep this open until the next update. Out of curiosity, how did you get around the bug?

@FaresX
Copy link
Author

FaresX commented Jan 17, 2024

I used buttons as background to display text and placed other widgets on the top of them. Now I have switched to drawing rectangles. What I'm doing may be limited to my needs.

@FaresX FaresX closed this as completed Oct 8, 2024
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

2 participants