diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-10 11:48:17 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-10 11:48:17 +0200 |
commit | d36529d053f7e4f2915e51e7cfbf01aa1c80adf9 (patch) | |
tree | f8e9307eb5836f62a34cf9137039bfbd774e2dac /src/ui/widget.c | |
parent | e4e0a543c5c0e838828b88458dbe31ece3901397 (diff) |
Mobile: Working on the phone preferences
Diffstat (limited to 'src/ui/widget.c')
-rw-r--r-- | src/ui/widget.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c index b31b3c08..4dd545b5 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c | |||
@@ -776,6 +776,9 @@ void drawBackground_Widget(const iWidget *d) { | |||
776 | } | 776 | } |
777 | if (d->bgColor >= 0 || d->frameColor >= 0) { | 777 | if (d->bgColor >= 0 || d->frameColor >= 0) { |
778 | iRect rect = bounds_Widget(d); | 778 | iRect rect = bounds_Widget(d); |
779 | if (d->flags & drawBackgroundToBottom_WidgetFlag) { | ||
780 | rect.size.y = rootSize_Window(get_Window()).y - top_Rect(rect); | ||
781 | } | ||
779 | iPaint p; | 782 | iPaint p; |
780 | init_Paint(&p); | 783 | init_Paint(&p); |
781 | if (d->bgColor >= 0) { | 784 | if (d->bgColor >= 0) { |