mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Remove unnecessary popup debug message
This commit is contained in:
parent
f4c3fee617
commit
3d343c8758
|
@ -31,7 +31,7 @@ void CEditor::UiInvokePopupMenu(void *pID, int Flags, float x, float y, float Wi
|
||||||
{
|
{
|
||||||
if(g_UiNumPopups > 7)
|
if(g_UiNumPopups > 7)
|
||||||
return;
|
return;
|
||||||
Console()->Print(IConsole::OUTPUT_LEVEL_DEBUG, "editor", "invoked");
|
|
||||||
const float Margin = 5.0f;
|
const float Margin = 5.0f;
|
||||||
if(x + Width > UI()->Screen()->w - Margin)
|
if(x + Width > UI()->Screen()->w - Margin)
|
||||||
x = maximum<float>(x - Width, Margin);
|
x = maximum<float>(x - Width, Margin);
|
||||||
|
|
Loading…
Reference in a new issue