1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-11-28 09:30:56 +01:00

Fixed enum typo.

This commit is contained in:
omar 2018-03-19 22:47:10 +01:00
parent 4485e56e02
commit d1c45db9e8

View File

@ -12066,7 +12066,7 @@ void ImGui::Separator()
return;
ImGuiContext& g = *GImGui;
ImGuiWindowFlags flags = 0;
ImGuiSeparatorFlags flags = 0;
if ((flags & (ImGuiSeparatorFlags_Horizontal | ImGuiSeparatorFlags_Vertical)) == 0)
flags |= (window->DC.LayoutType == ImGuiLayoutType_Horizontal) ? ImGuiSeparatorFlags_Vertical : ImGuiSeparatorFlags_Horizontal;
IM_ASSERT(ImIsPowerOfTwo((int)(flags & (ImGuiSeparatorFlags_Horizontal | ImGuiSeparatorFlags_Vertical)))); // Check that only 1 option is selected