diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-16 18:56:01 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-08-16 18:56:01 +0300 |
commit | 69ea47be1cee7298b65db8104f1c88e51554ba48 (patch) | |
tree | bf4cf799be4d9ceacec548edcd1eff30db92d757 /src/ui/scrollwidget.c | |
parent | 6d8bf2508f5e2af36b61cca42ed68cad26c41d56 (diff) |
Added Pure Black and Pure White themes
Font changes cause window redrawing to pause so document layout doesn’t get an intermediate update with a different width.
Sheets are mouse-modal.
Diffstat (limited to 'src/ui/scrollwidget.c')
-rw-r--r-- | src/ui/scrollwidget.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/scrollwidget.c b/src/ui/scrollwidget.c index 944c9ebe..3d8f5eaa 100644 --- a/src/ui/scrollwidget.c +++ b/src/ui/scrollwidget.c | |||
@@ -114,7 +114,6 @@ static void draw_ScrollWidget_(const iScrollWidget *d) { | |||
114 | if (bounds.size.x > 0) { | 114 | if (bounds.size.x > 0) { |
115 | iPaint p; | 115 | iPaint p; |
116 | init_Paint(&p); | 116 | init_Paint(&p); |
117 | // drawRect_Paint(&p, bounds, black_ColorId); | ||
118 | drawVLine_Paint(&p, topLeft_Rect(bounds), height_Rect(bounds), uiSeparator_ColorId); | 117 | drawVLine_Paint(&p, topLeft_Rect(bounds), height_Rect(bounds), uiSeparator_ColorId); |
119 | const iRect thumbRect = shrunk_Rect(thumbRect_ScrollWidget_(d), init_I2(gap_UI, gap_UI / 2)); | 118 | const iRect thumbRect = shrunk_Rect(thumbRect_ScrollWidget_(d), init_I2(gap_UI, gap_UI / 2)); |
120 | fillRect_Paint(&p, thumbRect, isPressed ? uiBackgroundPressed_ColorId : tmQuote_ColorId); | 119 | fillRect_Paint(&p, thumbRect, isPressed ? uiBackgroundPressed_ColorId : tmQuote_ColorId); |