adjusted the expand icons in the server browser. #1670

This commit is contained in:
oy 2018-11-18 11:37:18 +01:00
parent 5954c11739
commit 7b963e5c15

View file

@ -651,8 +651,8 @@ bool CMenus::RenderFilterHeader(CUIRect View, int FilterIndex)
{
Switch = true; // switch later, to make sure we haven't clicked one of the filter buttons (edit...)
}
Button.Margin(2.0f, &Button);
View.VSplitLeft(20.0f, &Button, &View);
Button.Margin(2.0f, &Button);
DoIcon(IMAGE_MENUICONS, pFilter->Extended() ? SPRITE_MENU_EXPANDED : SPRITE_MENU_COLLAPSED, &Button);
// split buttons from label