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:
@@ -79,7 +79,7 @@ IconButton::Draw(BRect area)
|
|||||||
{
|
{
|
||||||
rgb_color background = LowColor();
|
rgb_color background = LowColor();
|
||||||
if (BView* parent = Parent())
|
if (BView* parent = Parent())
|
||||||
background = parent->ViewColor();
|
background = parent->LowColor();
|
||||||
rgb_color lightShadow, shadow, darkShadow, light;
|
rgb_color lightShadow, shadow, darkShadow, light;
|
||||||
BRect r(Bounds());
|
BRect r(Bounds());
|
||||||
BBitmap* bitmap = fNormalBitmap;
|
BBitmap* bitmap = fNormalBitmap;
|
||||||
|
|||||||
Reference in New Issue
Block a user