This commit is contained in:
@ -311,7 +311,7 @@ void PaletteEditorImGui::drawColorEditor() noexcept {
|
||||
{
|
||||
ImGui::PushStyleColor(
|
||||
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::EndChild();
|
||||
ImGui::PopStyleColor();
|
||||
|
Reference in New Issue
Block a user