diff options
-rw-r--r-- | src/ui/widget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c index ec92ac5a..910c31a9 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c | |||
@@ -1407,7 +1407,8 @@ void drawBackground_Widget(const iWidget *d) { | |||
1407 | fillRect_Paint(&p, rect, d->bgColor); | 1407 | fillRect_Paint(&p, rect, d->bgColor); |
1408 | } | 1408 | } |
1409 | if (d->frameColor >= 0 && ~d->flags & frameless_WidgetFlag) { | 1409 | if (d->frameColor >= 0 && ~d->flags & frameless_WidgetFlag) { |
1410 | drawRectThickness_Paint(&p, rect, gap_UI / 4, d->frameColor); | 1410 | drawRectThickness_Paint(&p, adjusted_Rect(rect, zero_I2(), neg_I2(one_I2())), |
1411 | gap_UI / 4, d->frameColor); | ||
1411 | } | 1412 | } |
1412 | } | 1413 | } |
1413 | if (d->flags & (borderTop_WidgetFlag | borderBottom_WidgetFlag)) { | 1414 | if (d->flags & (borderTop_WidgetFlag | borderBottom_WidgetFlag)) { |