diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-25 14:36:57 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-12-25 14:36:57 +0200 |
commit | 2007dc961480151721e646aac468a0ae5639b18f (patch) | |
tree | 0041ce7231fd2aa1444465934848f3bbe6a182cb /src/ui/labelwidget.c | |
parent | 11a3590215674b9b1278629f24954ed1e5f586a3 (diff) |
Mobile: Link info in context menu
Diffstat (limited to 'src/ui/labelwidget.c')
-rw-r--r-- | src/ui/labelwidget.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/labelwidget.c b/src/ui/labelwidget.c index 446cdc8a..44ae3eec 100644 --- a/src/ui/labelwidget.c +++ b/src/ui/labelwidget.c | |||
@@ -330,6 +330,7 @@ static void draw_LabelWidget_(const iLabelWidget *d) { | |||
330 | init_Paint(&p); | 330 | init_Paint(&p); |
331 | int bg, fg, frame, frame2, iconColor, metaColor; | 331 | int bg, fg, frame, frame2, iconColor, metaColor; |
332 | getColors_LabelWidget_(d, &bg, &fg, &frame, &frame2, &iconColor, &metaColor); | 332 | getColors_LabelWidget_(d, &bg, &fg, &frame, &frame2, &iconColor, &metaColor); |
333 | setBaseAttributes_Text(d->font, fg); | ||
333 | const enum iColorId colorEscape = parseEscape_Color(cstr_String(&d->label), NULL); | 334 | const enum iColorId colorEscape = parseEscape_Color(cstr_String(&d->label), NULL); |
334 | const iBool isCaution = (colorEscape == uiTextCaution_ColorId); | 335 | const iBool isCaution = (colorEscape == uiTextCaution_ColorId); |
335 | if (bg >= 0) { | 336 | if (bg >= 0) { |
@@ -452,7 +453,8 @@ static void draw_LabelWidget_(const iLabelWidget *d) { | |||
452 | iTrue, | 453 | iTrue, |
453 | iconColor, | 454 | iconColor, |
454 | d->flags.chevron ? rightAngle_Icon : check_Icon); | 455 | d->flags.chevron ? rightAngle_Icon : check_Icon); |
455 | } | 456 | } |
457 | setBaseAttributes_Text(-1, -1); | ||
456 | unsetClip_Paint(&p); | 458 | unsetClip_Paint(&p); |
457 | drawChildren_Widget(w); | 459 | drawChildren_Widget(w); |
458 | } | 460 | } |