From 454b4e4a1e2bc9c7003df429ed4228567cf142d2 Mon Sep 17 00:00:00 2001 From: Corantin H Date: Sun, 31 Dec 2023 12:07:21 +0100 Subject: [PATCH] Respect corners when doing edit box when rendering value selector --- 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 435e22dee..8b39f8491 100644 --- a/src/game/editor/editor.cpp +++ b/src/game/editor/editor.cpp @@ -364,7 +364,7 @@ SEditResult CEditor::UiDoValueSelector(void *pID, CUIRect *pRect, const cha { str_copy(m_aTooltip, "Type your number"); - DoEditBox(&s_NumberInput, pRect, 10.0f); + DoEditBox(&s_NumberInput, pRect, 10.0f, Corners); UI()->SetActiveItem(&s_NumberInput);