mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Merge pull request #1487 from 12pm/editbox-corners
Don't change active edit box corners to default
This commit is contained in:
commit
b033418d12
|
@ -793,7 +793,7 @@ int CEditor::UiDoValueSelector(void *pID, CUIRect *pRect, const char *pLabel, in
|
||||||
m_pTooltip = "Type your number";
|
m_pTooltip = "Type your number";
|
||||||
|
|
||||||
static float s_NumberBoxID = 0;
|
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);
|
UI()->SetActiveItem(&s_NumberBoxID);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue