Remove unnecessary popup debug message

This commit is contained in:
Robert Müller 2023-03-27 16:19:35 +02:00
parent f4c3fee617
commit 3d343c8758

View file

@ -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);