From 0b03bc7a16e4f03264fd7e8241e74fe3381c2188 Mon Sep 17 00:00:00 2001 From: dobrykafe Date: Wed, 6 Mar 2024 23:27:50 +0100 Subject: [PATCH] make embedded image popup bigger at all times --- src/game/editor/editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/editor/editor.cpp b/src/game/editor/editor.cpp index a51ccead7..eec33de67 100644 --- a/src/game/editor/editor.cpp +++ b/src/game/editor/editor.cpp @@ -4750,7 +4750,7 @@ void CEditor::RenderImagesList(CUIRect ToolBox) if(Result == 2) { const std::shared_ptr pImg = m_Map.m_vpImages[m_SelectedImage]; - const int Height = !pImg->m_External && IsVanillaImage(pImg->m_aName) ? 107 : (pImg->m_External ? 73 : 90); + const int Height = pImg->m_External ? 73 : 107; static SPopupMenuId s_PopupImageId; Ui()->DoPopupMenu(&s_PopupImageId, Ui()->MouseX(), Ui()->MouseY(), 140, Height, this, PopupImage); }