[haiku-commits] Re: haiku: hrev46674 - src/apps/webpositive

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 14 Jan 2014 13:10:25 +0100

Hi,

On 14.01.2014 12:09, pulkomandy@xxxxxxxxxxxxx wrote:
diff --git a/src/apps/webpositive/URLInputGroup.cpp 
b/src/apps/webpositive/URLInputGroup.cpp
index 421d78f..2e3ed14 100644
--- a/src/apps/webpositive/URLInputGroup.cpp
+++ b/src/apps/webpositive/URLInputGroup.cpp
@@ -572,7 +572,7 @@ URLInputGroup::URLInputGroup(BMessage* goMessage)

        SetFlags(Flags() | B_WILL_DRAW | B_FULL_UPDATE_ON_RESIZE);
        SetLowColor(ViewColor());
-       SetViewColor(B_TRANSPARENT_COLOR);
+       SetViewColor(fTextView->ViewColor());

This does not look like the right fix. The background clearing code in Draw() should be fixed instead.

Best regards,
-Stephan



Other related posts: