From 01bc0170858e41e098056bc62a9f6aaf7d72dcc7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi
Date: Wed, 22 Mar 2023 19:32:29 +0200
Subject: [PATCH 1/1] Cleanup
src/ui/sidebarwidget.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/ui/sidebarwidget.c b/src/ui/sidebarwidget.c
index 69f2d24c..8ab39100 100644
--- a/src/ui/sidebarwidget.c
+++ b/src/ui/sidebarwidget.c
@@ -2285,7 +2285,8 @@ static void draw_SidebarItem_(const iSidebarItem *d, iPaint *p, iRect itemRect,
if (sidebar->mode == documentOutline_SidebarMode) {
const int level = d->indent / (5 * gap_UI);
const int fg = isHover ? (isPressing ? uiTextPressed_ColorId : uiTextFramelessHover_ColorId)
: (level <= 1 ? uiTextStrong_ColorId
: (level == 0 ? uiTextStrong_ColorId
: level == 1 ? uiTextStrong_ColorId
: level == 2 ? uiText_ColorId
: uiTextDim_ColorId);
drawRange_Text(font,
--
2.25.1
text/plain
This content has been proxied by September (ba2dc).