[haiku-commits] haiku: hrev50366 - src/apps/webpositive

  • From: waddlesplash@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 20 Jun 2016 00:52:42 +0200 (CEST)

hrev50366 adds 1 changeset to branch 'master'
old head: 9ff9025759841c760a7330f12ab4719d6a295a79
new head: 311c91325185002b03ca8fc8b2b804b2c3011084
overview: 
http://cgit.haiku-os.org/haiku/log/?qt=range&q=311c91325185+%5E9ff902575984

----------------------------------------------------------------------------

311c91325185: 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@xxxxxxxxx>
  Fixes #12672. I've had this patch in my inbox for a long time, and totally
  forgot about committing it...

                                        [ looncraz <looncraz@xxxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev50366
Commit:      311c91325185002b03ca8fc8b2b804b2c3011084
URL:         http://cgit.haiku-os.org/haiku/commit/?id=311c91325185
Author:      looncraz <looncraz@xxxxxxxxxxxx>
Date:        Thu Jan  7 20:59:41 2016 UTC
Committer:   Augustin Cavalier <waddlesplash@xxxxxxxxx>
Commit-Date: Sun Jun 19 22:51:46 2016 UTC

Ticket:      https://dev.haiku-os.org/ticket/12672

----------------------------------------------------------------------------

1 file changed, 1 insertion(+)
src/apps/webpositive/URLInputGroup.cpp | 1 +

----------------------------------------------------------------------------

diff --git a/src/apps/webpositive/URLInputGroup.cpp 
b/src/apps/webpositive/URLInputGroup.cpp
index fed92aa..97b1069 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()


Other related posts:

  • » [haiku-commits] haiku: hrev50366 - src/apps/webpositive - waddlesplash