From a98f119a609d10197f348c88271b2cd32175ba7a Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Tue, 14 Jan 2014 12:08:34 +0100 Subject: [PATCH] Fix drawing glitch with small text sizes. The GroupView sometimes has visible pixels when the text size is smaller than the favicon height. Draw those with the same color as the textview background. --- src/apps/webpositive/URLInputGroup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps/webpositive/URLInputGroup.cpp b/src/apps/webpositive/URLInputGroup.cpp index 421d78fa64..2e3ed141d8 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()); SetExplicitAlignment(BAlignment(B_ALIGN_USE_FULL_WIDTH, B_ALIGN_VERTICAL_CENTER));