Tweak close x so it doesn't look disabled
This commit is contained in:
parent
8e13dec040
commit
789e7d856e
@ -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) {
|
||||
|
@ -635,6 +635,8 @@ void WebTabView::_DrawCloseButton(BView* owner, BRect& frame,
|
||||
}
|
||||
|
||||
if (fOverCloseRect)
|
||||
tint *= 1.4;
|
||||
else
|
||||
tint *= 1.2;
|
||||
|
||||
if (fClicked && fOverCloseRect) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user