Skip to content

Commit

Permalink
Change text colors in info panel
Browse files Browse the repository at this point in the history
  • Loading branch information
oitel committed Sep 17, 2024
1 parent 7bb4a45 commit b03e482
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/MRViewer/ImGuiMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1348,9 +1348,9 @@ float ImGuiMenu::drawSelectionInformation_()

const float itemWidth = getSceneInfoItemWidth_( 3 ) * 3 + ImGui::GetStyle().ItemInnerSpacing.x * 2;

const auto textColor = ImGui::GetStyleColorVec4( ImGuiCol_Text );
auto textColor = ImGui::GetStyleColorVec4( ImGuiCol_Text );
auto labelColor = textColor;
labelColor.w *= 0.5f;
textColor.w *= 0.5f;
const ImVec4 selectedTextColor { 0.886f, 0.267f, 0.267f, 1.0f };

auto drawPrimitivesInfo = [&] ( const char* label, size_t value, size_t selected = 0 )
Expand Down

0 comments on commit b03e482

Please sign in to comment.