mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Add hover over quick search button
This commit is contained in:
parent
c25fd502a0
commit
7c0a03a005
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue