Fix mouse staying locked when activating text mode in editor

This commit is contained in:
Robert Müller 2022-09-04 12:58:39 +02:00
parent ecce22322e
commit 3fd87df844

View file

@ -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