mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix mouse staying locked when activating text mode in editor
This commit is contained in:
parent
ecce22322e
commit
3fd87df844
|
@ -549,6 +549,7 @@ int CEditor::UiDoValueSelector(void *pID, CUIRect *pRect, const char *pLabel, in
|
|||
{
|
||||
s_pLastTextpID = pID;
|
||||
s_TextMode = true;
|
||||
m_LockMouse = false;
|
||||
if(IsHex)
|
||||
str_format(s_aNumStr, sizeof(s_aNumStr), "%06X", Current);
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue