From 3d343c8758cd7892751c209661ce4d293499873b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20M=C3=BCller?= Date: Mon, 27 Mar 2023 16:19:35 +0200 Subject: [PATCH] Remove unnecessary popup debug message --- src/game/editor/popups.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);