Gnimuc / CImGui.jl

Julia wrapper for cimgui
https://github.com/cimgui/cimgui
MIT License
253 stars 25 forks source link

Incomplete overlap #109

Open FaresX opened 8 months ago

FaresX commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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

FaresX commented 8 months ago

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.