diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-15 17:51:04 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-06-15 17:51:04 +0300 |
commit | a8fa5c21f0bc81f3f144ee29e16deab3f91296d4 (patch) | |
tree | 902304d7f63f620bb272bbc7d0a33d53e15d2a98 /src/ui/widget.c | |
parent | 941c92e80ab5981f7f65a6780552416b998b0425 (diff) |
Fixed visual artifact during sidebar animation
The sidebars are not supposed to have borders or background fades.
Diffstat (limited to 'src/ui/widget.c')
-rw-r--r-- | src/ui/widget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c index 4e1c9119..992f115d 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c | |||
@@ -1164,7 +1164,7 @@ void drawBackground_Widget(const iWidget *d) { | |||
1164 | shadowBorder = iFalse; | 1164 | shadowBorder = iFalse; |
1165 | } | 1165 | } |
1166 | } | 1166 | } |
1167 | if (shadowBorder) { | 1167 | if (shadowBorder && ~d->flags & noShadowBorder_WidgetFlag) { |
1168 | iPaint p; | 1168 | iPaint p; |
1169 | init_Paint(&p); | 1169 | init_Paint(&p); |
1170 | drawSoftShadow_Paint(&p, bounds_Widget(d), 12 * gap_UI, black_ColorId, 30); | 1170 | drawSoftShadow_Paint(&p, bounds_Widget(d), 12 * gap_UI, black_ColorId, 30); |