Have the following error occurring when attempting to minimize/collapse a UI overlay. Using the attached script, recreates the issue for me. Run the script. Click the minimize icon (triangle) in the upper left corner.
Now, this could be isolated to me. And if it is, I'm really interested in knowing what I can do to resolve it.
Now, this could be isolated to me. And if it is, I'm really interested in knowing what I can do to resolve it.
basicUI.Lua:
---@type Mq
local mq = require("mq")
---@type ImGui
require("ImGui")
---@type boolean|nil
local drawUi = true
---@type boolean
local shouldDraw = true
local function display()
drawUi, shouldDraw = ImGui.Begin("Basic UI #2", drawUi)
if (shouldDraw) then
ImGui.Text("This is a UI")
ImGui.End()
end
end
ImGui.Register('basicUI', display)
while drawUi do
mq.delay(100)
end
Attachments
Last edited: