mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-18 05:58:19 +00:00
fix server settings command help text overwriting other tooltips
This commit is contained in:
parent
29523e4972
commit
184f07a912
|
@ -317,7 +317,7 @@ void CEditor::DoMapSettingsEditBox(CMapSettingsBackend::CContext *pContext, cons
|
|||
};
|
||||
|
||||
// If we have a valid command, display the help in the tooltip
|
||||
if(Context.CommandIsValid())
|
||||
if(Context.CommandIsValid() && pLineInput->IsActive() && Ui()->HotItem() == nullptr)
|
||||
Context.GetCommandHelpText(m_aTooltip, sizeof(m_aTooltip));
|
||||
|
||||
CUIRect ToolBar = *pRect;
|
||||
|
|
Loading…
Reference in a new issue