Browse Source

Fixed enum typo.

pull/1608/merge
omar 7 years ago
parent
commit
d1c45db9e8
  1. 2
      imgui.cpp

2
imgui.cpp

@ -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

Loading…
Cancel
Save