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 <waddlesplash@gmail.com> 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:
parent
9ff9025759
commit
311c913251
@ -523,6 +523,7 @@ public:
|
||||
{
|
||||
SetDrawingMode(B_OP_ALPHA);
|
||||
SetBlendingMode(B_PIXEL_ALPHA, B_ALPHA_OVERLAY);
|
||||
SetViewUIColor(B_DOCUMENT_BACKGROUND_COLOR);
|
||||
}
|
||||
|
||||
~PageIconView()
|
||||
|
Loading…
Reference in New Issue
Block a user