diff options
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 1d2aecf0..e2d0f922 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c | |||
@@ -637,7 +637,7 @@ void drawBackground_Widget(const iWidget *d) { | |||
637 | if (d->bgColor >= 0) { | 637 | if (d->bgColor >= 0) { |
638 | fillRect_Paint(&p, rect, d->bgColor); | 638 | fillRect_Paint(&p, rect, d->bgColor); |
639 | } | 639 | } |
640 | if (d->frameColor >= 0) { | 640 | if (d->frameColor >= 0 && ~d->flags & frameless_WidgetFlag) { |
641 | drawRectThickness_Paint(&p, rect, gap_UI / 4, d->frameColor); | 641 | drawRectThickness_Paint(&p, rect, gap_UI / 4, d->frameColor); |
642 | } | 642 | } |
643 | } | 643 | } |