You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.
Ran into this problem just now: function like ImGui.treeNodeEx which optionally take a Flag<ImGuiTreeNodeFlags> don't currently support sending nullable flags:
val flags = (if (selected == current) ImGuiTreeNodeFlags.Selectedelsenull) orImGuiTreeNodeFlags.OpenOnArrowImGui.treeNodeEx(current.uuid(), flags, "Some node") // compile error: required Flag<ImGuiTreeNodeFlags>, found Flag<ImGuiTreeNodeFlags>?
there are a few workarounds, but since 0 is a valid Flag value, null should be accepted anywhere
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Ran into this problem just now: function like
ImGui.treeNodeEx
which optionally take aFlag<ImGuiTreeNodeFlags>
don't currently support sending nullable flags:there are a few workarounds, but since
0
is a valid Flag value,null
should be accepted anywhereThe text was updated successfully, but these errors were encountered: