From 64ed5058bf3bb0384c8e6745083bf60c930e5e99 Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Wed, 23 Jun 2021 22:24:58 +0200 Subject: [PATCH] Fixed wrong disabled color sheme --- core/src/gui/style.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/gui/style.cpp b/core/src/gui/style.cpp index 16787fd2..febcbc38 100644 --- a/core/src/gui/style.cpp +++ b/core/src/gui/style.cpp @@ -29,8 +29,8 @@ namespace style { auto& style = ImGui::GetStyle(); ImVec4* colors = style.Colors; ImVec4 btnCol = colors[ImGuiCol_Button]; - ImVec4 frameCol = colors[ImGuiCol_Button]; - ImVec4 textCol = colors[ImGuiCol_Button]; + ImVec4 frameCol = colors[ImGuiCol_FrameBg]; + ImVec4 textCol = colors[ImGuiCol_Text]; btnCol.w = 0.15f; frameCol.w = 0.30f; textCol.w = 0.65f;