Add hover over quick search button

This commit is contained in:
Savander 2018-12-09 00:14:23 +01:00
parent c25fd502a0
commit 7c0a03a005

View file

@ -1255,7 +1255,7 @@ void CMenus::RenderServerbrowserServerList(CUIRect View)
// clear button
{
static CButtonContainer s_ClearButton;
if(DoButton_SpriteID(&s_ClearButton, IMAGE_TOOLICONS, SPRITE_TOOL_X_A, false, &Button, CUI::CORNER_ALL, 5.0f, false))
if(DoButton_SpriteID(&s_ClearButton, IMAGE_TOOLICONS, SPRITE_TOOL_X_A, false, &Button, CUI::CORNER_ALL, 5.0f, true))
{
g_Config.m_BrFilterString[0] = 0;
UI()->SetActiveItem(&g_Config.m_BrFilterString);