Skip to content

Commit

Permalink
Fix the wrong border color referenced in classic ui.
Browse files Browse the repository at this point in the history
Fix #1069
  • Loading branch information
wengxt committed Jun 3, 2024
1 parent 716fee7 commit 7a43580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/classic/theme.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -865,7 +865,7 @@ void Theme::populateColor(std::optional<Color> accent) {
inputPanelBackground_ = *inputPanel->background->color;
inputPanelBorder_ = *inputPanel->background->borderColor;
inputPanelHighlightCandidateBackground_ = *inputPanel->highlight->color;
inputPanelHighlightCandidateBorder_ = *inputPanel->background->borderColor;
inputPanelHighlightCandidateBorder_ = *inputPanel->highlight->borderColor;
inputPanelHighlight_ = *inputPanel->highlightBackgroundColor;
inputPanelText_ = *inputPanel->normalColor;
inputPanelHighlightText_ = *inputPanel->highlightColor;
Expand All @@ -874,7 +874,7 @@ void Theme::populateColor(std::optional<Color> accent) {
menuBackground_ = *menu->background->color;
menuBorder_ = *menu->background->borderColor;
menuSelectedItemBackground_ = *menu->highlight->color;
menuSelectedItemBorder_ = *menu->background->borderColor;
menuSelectedItemBorder_ = *menu->highlight->borderColor;
menuSeparator_ = *menu->separator->color;
menuText_ = *menu->normalColor;
menuSelectedItemText_ = *menu->highlightTextColor;
Expand Down

0 comments on commit 7a43580

Please sign in to comment.