Use the parent's low color, not view color for the icon background and frame

base color. Fixes the frame looking much too strong.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28097 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2008-10-14 18:36:07 +00:00
parent a6099ca9e5
commit 531bc71bf9
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ IconButton::Draw(BRect area)
{
rgb_color background = LowColor();
if (BView* parent = Parent())
background = parent->ViewColor();
background = parent->LowColor();
rgb_color lightShadow, shadow, darkShadow, light;
BRect r(Bounds());
BBitmap* bitmap = fNormalBitmap;