Browse Source

ColorPicker: Replaced the Separator with a Spacing call. (#2068)

pull/2083/head
omar 6 years ago
parent
commit
ca5dc0c019
  1. 2
      imgui_widgets.cpp

2
imgui_widgets.cpp

@ -3922,7 +3922,7 @@ bool ImGui::ColorEdit4(const char* label, float col[4], ImGuiColorEditFlags flag
if (label != label_display_end)
{
TextUnformatted(label, label_display_end);
Separator();
Spacing();
}
ImGuiColorEditFlags picker_flags_to_forward = ImGuiColorEditFlags__DataTypeMask | ImGuiColorEditFlags__PickerMask | ImGuiColorEditFlags_HDR | ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_AlphaBar;
ImGuiColorEditFlags picker_flags = (flags_untouched & picker_flags_to_forward) | ImGuiColorEditFlags__InputsMask | ImGuiColorEditFlags_NoLabel | ImGuiColorEditFlags_AlphaPreviewHalf;

Loading…
Cancel
Save