This commit is contained in:
parent
6b7c5d896e
commit
e78c405046
@ -311,7 +311,7 @@ void PaletteEditorImGui::drawColorEditor() noexcept {
|
|||||||
{
|
{
|
||||||
ImGui::PushStyleColor(
|
ImGui::PushStyleColor(
|
||||||
ImGuiCol_ChildBg,
|
ImGuiCol_ChildBg,
|
||||||
color32(color16(static_cast<uint8_t>(r), static_cast<uint8_t>(g), static_cast<uint8_t>(b))) | 0xff'00'00'00);
|
color32(color16(r, g, b)) | 0xff'00'00'00);
|
||||||
ImGui::BeginChild("ColorPreview", {0, 25});
|
ImGui::BeginChild("ColorPreview", {0, 25});
|
||||||
ImGui::EndChild();
|
ImGui::EndChild();
|
||||||
ImGui::PopStyleColor();
|
ImGui::PopStyleColor();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user