summaryrefslogtreecommitdiff
path: root/src/ui/sidebarwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-10-18 21:40:08 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-10-18 21:40:08 +0300
commit69b71ecd9760a02dd243d51580348d3ed698d0f7 (patch)
treecf9f5b5529da7cbbf06d4e206efb0f1ede6c20d8 /src/ui/sidebarwidget.c
parentcb708fcad4083fea37d52562b0dddbdd85eba42e (diff)
Added the "Colorful Light" document theme
Diffstat (limited to 'src/ui/sidebarwidget.c')
-rw-r--r--src/ui/sidebarwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index b84ae65e..d140948e 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -259,7 +259,7 @@ iBool setMode_SidebarWidget(iSidebarWidget *d, enum iSidebarMode mode) {
259 } 259 }
260 const float heights[max_SidebarMode] = { 1.333f, 1.333f, 3.5f, 1.2f }; 260 const float heights[max_SidebarMode] = { 1.333f, 1.333f, 3.5f, 1.2f };
261 setBackgroundColor_Widget(as_Widget(d->list), 261 setBackgroundColor_Widget(as_Widget(d->list),
262 d->mode == documentOutline_SidebarMode ? tmBackground_ColorId 262 d->mode == documentOutline_SidebarMode ? tmBannerBackground_ColorId
263 : uiBackground_ColorId); 263 : uiBackground_ColorId);
264 setItemHeight_ListWidget(d->list, heights[mode] * lineHeight_Text(uiContent_FontId)); 264 setItemHeight_ListWidget(d->list, heights[mode] * lineHeight_Text(uiContent_FontId));
265 /* Restore previous scroll position. */ 265 /* Restore previous scroll position. */