From 311c91325185002b03ca8fc8b2b804b2c3011084 Mon Sep 17 00:00:00 2001 From: looncraz Date: Thu, 7 Jan 2016 14:59:41 -0600 Subject: [PATCH] WebPositive: Fix icon background. Due to a minor change in the handling of default colors with layouts, the colors were adopting the system/parent colors due to no colors being specified by the class. The icon now adopts the document background color and synchronizes with the url input background. Signed-off-by: Augustin Cavalier Fixes #12672. I've had this patch in my inbox for a long time, and totally forgot about committing it... --- src/apps/webpositive/URLInputGroup.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apps/webpositive/URLInputGroup.cpp b/src/apps/webpositive/URLInputGroup.cpp index fed92aad86..97b10691d8 100644 --- a/src/apps/webpositive/URLInputGroup.cpp +++ b/src/apps/webpositive/URLInputGroup.cpp @@ -523,6 +523,7 @@ public: { SetDrawingMode(B_OP_ALPHA); SetBlendingMode(B_PIXEL_ALPHA, B_ALPHA_OVERLAY); + SetViewUIColor(B_DOCUMENT_BACKGROUND_COLOR); } ~PageIconView()