mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-19 17:14:18 +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
|
||||
{
|
||||
NONE = 0,
|
||||
Ui,
|
||||
UI,
|
||||
CHAT,
|
||||
CONSOLE,
|
||||
};
|
||||
|
|
|
@ -804,7 +804,7 @@ bool CUi::DoEditBox(CLineInput *pLineInput, const CUIRect *pRect, float FontSize
|
|||
SetHotItem(pLineInput);
|
||||
|
||||
if(Enabled() && Active && !JustGotActive)
|
||||
pLineInput->Activate(EInputPriority::Ui);
|
||||
pLineInput->Activate(EInputPriority::UI);
|
||||
else
|
||||
pLineInput->Deactivate();
|
||||
|
||||
|
|
Loading…
Reference in a new issue