Tweak close x so it doesn't look disabled
This commit is contained in:
@@ -260,6 +260,8 @@ public:
|
|||||||
float tint = B_DARKEN_1_TINT;
|
float tint = B_DARKEN_1_TINT;
|
||||||
|
|
||||||
if (fOverCloseRect)
|
if (fOverCloseRect)
|
||||||
|
tint *= 1.4;
|
||||||
|
else
|
||||||
tint *= 1.2;
|
tint *= 1.2;
|
||||||
|
|
||||||
if (Value() == B_CONTROL_ON && fOverCloseRect) {
|
if (Value() == B_CONTROL_ON && fOverCloseRect) {
|
||||||
|
|||||||
@@ -635,6 +635,8 @@ void WebTabView::_DrawCloseButton(BView* owner, BRect& frame,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (fOverCloseRect)
|
if (fOverCloseRect)
|
||||||
|
tint *= 1.4;
|
||||||
|
else
|
||||||
tint *= 1.2;
|
tint *= 1.2;
|
||||||
|
|
||||||
if (fClicked && fOverCloseRect) {
|
if (fClicked && fOverCloseRect) {
|
||||||
|
|||||||
Reference in New Issue
Block a user