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 <[email protected]>
Fixes #12672. I've had this patch in my inbox for a long time, and totally
forgot about committing it...
This commit is contained in:
looncraz
2016-06-19 18:51:46 -04:00
committed by Augustin Cavalier
parent 9ff9025759
commit 311c913251
+1
View File
@@ -523,6 +523,7 @@ public:
{
SetDrawingMode(B_OP_ALPHA);
SetBlendingMode(B_PIXEL_ALPHA, B_ALPHA_OVERLAY);
SetViewUIColor(B_DOCUMENT_BACKGROUND_COLOR);
}
~PageIconView()