From ffe50b3b258e9d34f79e5e19f91c4b38054c1200 Mon Sep 17 00:00:00 2001 From: 12pm <30786226+12pm@users.noreply.github.com> Date: Tue, 12 Mar 2019 22:25:01 +0100 Subject: [PATCH] Don't change active edit box corners to default --- 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 e7de45828..0bb9245d9 100644 --- a/src/game/editor/editor.cpp +++ b/src/game/editor/editor.cpp @@ -793,7 +793,7 @@ int CEditor::UiDoValueSelector(void *pID, CUIRect *pRect, const char *pLabel, in m_pTooltip = "Type your number"; static float s_NumberBoxID = 0; - DoEditBox(&s_NumberBoxID, pRect, s_NumStr, sizeof(s_NumStr), 10.0f, &s_NumberBoxID); + DoEditBox(&s_NumberBoxID, pRect, s_NumStr, sizeof(s_NumStr), 10.0f, &s_NumberBoxID, false, Corners); UI()->SetActiveItem(&s_NumberBoxID);