diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-23 14:33:12 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-02-23 14:33:12 +0200 |
commit | b1a919108e3c447bbcbb7c0110663713b7c9b83c (patch) | |
tree | 4f5964698bee8ce728f1084c6a94f2ce71687453 /src/ui/sidebarwidget.c | |
parent | 0fdf297a5750f736eddbdbfe73cdb86522cb302c (diff) |
Option to auto-reload a tab at a given interval
IssueID #116
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r-- | src/ui/sidebarwidget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c index 17640aaa..9ca09fe8 100644 --- a/src/ui/sidebarwidget.c +++ b/src/ui/sidebarwidget.c | |||
@@ -1356,7 +1356,8 @@ static void draw_SidebarItem_(const iSidebarItem *d, iPaint *p, iRect itemRect, | |||
1356 | iString str; | 1356 | iString str; |
1357 | init_String(&str); | 1357 | init_String(&str); |
1358 | appendChar_String(&str, d->icon ? d->icon : 0x1f588); | 1358 | appendChar_String(&str, d->icon ? d->icon : 0x1f588); |
1359 | const iRect iconArea = { addX_I2(pos, gap_UI), init_I2(1.9f * lineHeight_Text(font), itemHeight) }; | 1359 | const iRect iconArea = { addX_I2(pos, gap_UI), |
1360 | init_I2(1.75f * lineHeight_Text(font), itemHeight) }; | ||
1360 | drawCentered_Text(font, | 1361 | drawCentered_Text(font, |
1361 | iconArea, | 1362 | iconArea, |
1362 | iTrue, | 1363 | iTrue, |