message: ColorPicker: Fixes for when ImGuiColorEditFlags_NoOptions flag is set: always read a default picker type + forward flag to sub ColorEdit widgets.
diff: @@ -9594,20 +9594,19 @@ bool ImGui::ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags fl
  PushID(label);
  BeginGroup();
  - if ((flags & ImGuiColorEditFlags_NoSidePreview) == 0)
  + if (!(flags & ImGuiColorEditFlags_NoSidePreview))
  flags |= ImGuiColorEditFlags_NoSmallPreview;
  - if ((flags & ImGuiColorEditFlags_NoOptions) == 0)
  - {
  // Context menu: display and store options.
  + if (!(flags & ImGuiColorEditFlags_NoOptions))
  ColorPickerOptionsPopup(flags, col);
  // Read stored options
  - if ((flags & ImGuiColorEditFlags__PickerMask) == 0)
  + if (!(flags & ImGuiColorEditFlags__PickerMask))
  flags |= ((g.ColorEditOptions & ImGuiColorEditFlags__PickerMask) ? g.ColorEditOptions : ImGuiColorEditFlags__OptionsDefault) & ImGuiColorEditFlags__PickerMask;
  IM_ASSERT(ImIsPowerOfTwo((int)(flags & ImGuiColorEditFlags__PickerMask))); // Check that only 1 is selected
  + if (!(flags & ImGuiColorEditFlags_NoOptions))
  flags |= (g.ColorEditOptions & ImGuiColorEditFlags_AlphaBar);
  - }
  // Setup
  bool alpha_bar = (flags & ImGuiColorEditFlags_AlphaBar) && !(flags & ImGuiColorEditFlags_NoAlpha);
  @@ -9749,7 +9748,7 @@ bool ImGui::ColorPicker4(const char* label, float col[4], ImGuiColorEditFlags fl
  if ((flags & ImGuiColorEditFlags_NoInputs) == 0)
  {
  PushItemWidth((alpha_bar ? bar1_pos_x : bar0_pos_x) + bars_width - picker_pos.x);
  - ImGuiColorEditFlags sub_flags_to_forward = ImGuiColorEditFlags__DataTypeMask | ImGuiColorEditFlags_HDR | ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_NoSmallPreview | ImGuiColorEditFlags_AlphaPreview | ImGuiColorEditFlags_AlphaPreviewHalf;
  + ImGuiColorEditFlags sub_flags_to_forward = ImGuiColorEditFlags__DataTypeMask | ImGuiColorEditFlags_HDR | ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_NoOptions | ImGuiColorEditFlags_NoSmallPreview | ImGuiColorEditFlags_AlphaPreview | ImGuiColorEditFlags_AlphaPreviewHalf;
  ImGuiColorEditFlags sub_flags = (flags & sub_flags_to_forward) | ImGuiColorEditFlags_NoPicker;
  if (flags & ImGuiColorEditFlags_RGB || (flags & ImGuiColorEditFlags__InputsMask) == 0)
  value_changed |= ColorEdit4("##rgb", col, sub_flags | ImGuiColorEditFlags_RGB);
  