diff --git a/src/game/editor/popups.cpp b/src/game/editor/popups.cpp index a24f7b138..804687d5c 100644 --- a/src/game/editor/popups.cpp +++ b/src/game/editor/popups.cpp @@ -31,7 +31,7 @@ void CEditor::UiInvokePopupMenu(void *pID, int Flags, float x, float y, float Wi { if(g_UiNumPopups > 7) return; - Console()->Print(IConsole::OUTPUT_LEVEL_DEBUG, "editor", "invoked"); + const float Margin = 5.0f; if(x + Width > UI()->Screen()->w - Margin) x = maximum(x - Width, Margin);