|
|
|
@ -10489,7 +10489,7 @@ void ImGui::ColorTooltip(const char* text, const float* col, ImGuiColorEditFlags
|
|
|
|
|
Separator();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
ImVec2 sz(g.FontSize * 3, g.FontSize * 3);
|
|
|
|
|
ImVec2 sz(g.FontSize * 3 + g.Style.FramePadding.y * 2, g.FontSize * 3 + g.Style.FramePadding.y * 2);
|
|
|
|
|
ColorButton("##preview", ImVec4(col[0], col[1], col[2], col[3]), (flags & (ImGuiColorEditFlags_NoAlpha | ImGuiColorEditFlags_AlphaPreview | ImGuiColorEditFlags_AlphaPreviewHalf)) | ImGuiColorEditFlags_NoTooltip, sz);
|
|
|
|
|
SameLine();
|
|
|
|
|
if (flags & ImGuiColorEditFlags_NoAlpha)
|
|
|
|
|