Don't offset close tab x on click
This commit is contained in:
@@ -636,7 +636,6 @@ void WebTabView::_DrawCloseButton(BView* owner, BRect& frame,
|
|||||||
be_control_look->DrawButtonBackground(owner, buttonRect, updateRect,
|
be_control_look->DrawButtonBackground(owner, buttonRect, updateRect,
|
||||||
base, BControlLook::B_ACTIVATED);
|
base, BControlLook::B_ACTIVATED);
|
||||||
tint *= 1.2;
|
tint *= 1.2;
|
||||||
closeRect.OffsetBy(1, 1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
base = tint_color(base, tint);
|
base = tint_color(base, tint);
|
||||||
|
|||||||
Reference in New Issue
Block a user