summaryrefslogtreecommitdiff
path: root/src/ui/scrollwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-07-25 08:25:16 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-07-25 08:25:16 +0300
commit534ca653e54f417f413a65a9eacd71eb12c51326 (patch)
tree8167ec4b72968cd03f88bdb464952ce048aef08e /src/ui/scrollwidget.c
parent62852e380d732402c10c80c77442f3079f66e16d (diff)
Basic navigation history; Back and Forward are working
Diffstat (limited to 'src/ui/scrollwidget.c')
-rw-r--r--src/ui/scrollwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/scrollwidget.c b/src/ui/scrollwidget.c
index 1961677b..65b20a28 100644
--- a/src/ui/scrollwidget.c
+++ b/src/ui/scrollwidget.c
@@ -115,7 +115,7 @@ static void draw_ScrollWidget_(const iScrollWidget *d) {
115 iPaint p; 115 iPaint p;
116 init_Paint(&p); 116 init_Paint(&p);
117 drawRect_Paint(&p, bounds, black_ColorId); 117 drawRect_Paint(&p, bounds, black_ColorId);
118 fillRect_Paint(&p, shrunk_Rect(thumbRect_ScrollWidget_(d), one_I2()), 118 fillRect_Paint(&p, shrunk_Rect(thumbRect_ScrollWidget_(d), init1_I2(gap_UI / 2)),
119 isPressed ? orange_ColorId : gray50_ColorId); 119 isPressed ? orange_ColorId : gray50_ColorId);
120 } 120 }
121} 121}