summaryrefslogtreecommitdiff
path: root/src/ui/labelwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/labelwidget.c')
-rw-r--r--src/ui/labelwidget.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/ui/labelwidget.c b/src/ui/labelwidget.c
index 89e95c85..3454014a 100644
--- a/src/ui/labelwidget.c
+++ b/src/ui/labelwidget.c
@@ -226,8 +226,13 @@ static void getColors_LabelWidget_(const iLabelWidget *d, int *bg, int *fg, int
226 *meta = uiTextDisabled_ColorId; 226 *meta = uiTextDisabled_ColorId;
227 } 227 }
228 if (isSel) { 228 if (isSel) {
229 if (!d->flags.checkMark) { 229 if (!d->flags.checkMark) {
230 *bg = uiBackgroundSelected_ColorId; 230 if (isMenuItem) {
231 *bg = uiBackgroundUnfocusedSelection_ColorId;
232 }
233 else {
234 *bg = uiBackgroundSelected_ColorId;
235 }
231 if (!isKeyRoot) { 236 if (!isKeyRoot) {
232 *bg = isDark_ColorTheme(colorTheme_App()) ? uiBackgroundUnfocusedSelection_ColorId 237 *bg = isDark_ColorTheme(colorTheme_App()) ? uiBackgroundUnfocusedSelection_ColorId
233 : uiMarked_ColorId; 238 : uiMarked_ColorId;