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:
parent
a6099ca9e5
commit
531bc71bf9
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user