Tweak close x so it doesn't look disabled

This commit is contained in:
John Scipione 2013-02-18 22:32:24 -05:00
parent 8e13dec040
commit 789e7d856e
2 changed files with 4 additions and 0 deletions

View File

@ -260,6 +260,8 @@ public:
float tint = B_DARKEN_1_TINT;
if (fOverCloseRect)
tint *= 1.4;
else
tint *= 1.2;
if (Value() == B_CONTROL_ON && fOverCloseRect) {

View File

@ -635,6 +635,8 @@ void WebTabView::_DrawCloseButton(BView* owner, BRect& frame,
}
if (fOverCloseRect)
tint *= 1.4;
else
tint *= 1.2;
if (fClicked && fOverCloseRect) {