mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Revert name of enum
literal Ui
back to UI
This `enum` literal was accidentally included in the renaming of the `UI` function to `Ui`.
This commit is contained in:
parent
65c2ad7ee0
commit
f291362d88
|
@ -15,7 +15,7 @@
|
||||||
enum class EInputPriority
|
enum class EInputPriority
|
||||||
{
|
{
|
||||||
NONE = 0,
|
NONE = 0,
|
||||||
Ui,
|
UI,
|
||||||
CHAT,
|
CHAT,
|
||||||
CONSOLE,
|
CONSOLE,
|
||||||
};
|
};
|
||||||
|
|
|
@ -804,7 +804,7 @@ bool CUi::DoEditBox(CLineInput *pLineInput, const CUIRect *pRect, float FontSize
|
||||||
SetHotItem(pLineInput);
|
SetHotItem(pLineInput);
|
||||||
|
|
||||||
if(Enabled() && Active && !JustGotActive)
|
if(Enabled() && Active && !JustGotActive)
|
||||||
pLineInput->Activate(EInputPriority::Ui);
|
pLineInput->Activate(EInputPriority::UI);
|
||||||
else
|
else
|
||||||
pLineInput->Deactivate();
|
pLineInput->Deactivate();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue