refactor(Spawn): Prevent typing when in spawn menu
This commit is contained in:
parent
6903aa03be
commit
11f67334c7
@ -3,12 +3,17 @@
|
||||
|
||||
namespace big
|
||||
{
|
||||
static char model[64];
|
||||
static char model[12];
|
||||
|
||||
void tabbar::render_spawn()
|
||||
{
|
||||
if (ImGui::BeginTabItem("Spawn"))
|
||||
{
|
||||
QUEUE_JOB_BEGIN_CLAUSE()
|
||||
{
|
||||
PAD::DISABLE_ALL_CONTROL_ACTIONS(0);
|
||||
}QUEUE_JOB_END_CLAUSE
|
||||
|
||||
if (
|
||||
ImGui::InputText("Model Name", model, sizeof(model), ImGuiInputTextFlags_EnterReturnsTrue) ||
|
||||
ImGui::Button("Spawn")
|
||||
|
Reference in New Issue
Block a user