Closed FineRedMist closed 2 months ago
Hi,
This is already supported by setting the Disabled
flag (it is exposed from ItemFlags
).
ImGui::BeginDisabled();
and ImGui::EndDisabled();
is basically a special-case for the more generic ImGui::PushItemFlag
and ImGui::PopItemFlag
Ah! I'm on an older version without that code. I had issues with head rev crashing the game. This was based on a rev that corresponded (as close as I could tell) with the release.
Add support to enable and disable ImGui controls from Lua.