summaryrefslogtreecommitdiff
path: root/src/ui/documentwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-02-20 15:15:42 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-02-20 15:15:42 +0200
commit1ca771a41e430f866e3a3270f285fc9a7eacfc65 (patch)
tree9812569c07a0d569719e1af2ca8b8e494ef7e638 /src/ui/documentwidget.c
parent876bde9002a5d1faa66cbdac08bf04f4d6719b6e (diff)
iOS: Removed 2nd sidebar; background tweaks
Diffstat (limited to 'src/ui/documentwidget.c')
-rw-r--r--src/ui/documentwidget.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index cb075c49..683793ea 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -2894,12 +2894,10 @@ static void drawRun_DrawContext_(void *context, const iGmRun *run) {
2894 } 2894 }
2895 if (run->flags & siteBanner_GmRunFlag) { 2895 if (run->flags & siteBanner_GmRunFlag) {
2896 /* Banner background. */ 2896 /* Banner background. */
2897 fillRect_Paint( 2897 iRect bannerBack = initCorners_Rect(topLeft_Rect(d->widgetBounds),
2898 &d->paint, 2898 init_I2(right_Rect(bounds_Widget(constAs_Widget(d->widget))),
2899 initCorners_Rect(topLeft_Rect(d->widgetBounds), 2899 visPos.y + height_Rect(run->visBounds)));
2900 init_I2(right_Rect(bounds_Widget(constAs_Widget(d->widget))), 2900 fillRect_Paint(&d->paint, bannerBack, tmBannerBackground_ColorId);
2901 visPos.y + height_Rect(run->visBounds))),
2902 tmBannerBackground_ColorId);
2903 drawBannerRun_DrawContext_(d, run, visPos); 2901 drawBannerRun_DrawContext_(d, run, visPos);
2904 } 2902 }
2905 else { 2903 else {