Dgs-dxwindow doesn't close
ERAGON007 opened this issue · 5 comments
ERAGON007 commented
Reproduce:
local window = dgsCreateWindow(.....)
dgsSetProperty(window, "dontClose", true)
addEventHandler("onDgsWindowClose", root,
function()
local dontClose = dgsGetProperty(source, "dontClose")
if (dontClose) then
cancelEvent()
dgsAlphaTo(source, 0.0, "Linear", 350)
setTimer(function(elem)
dgsSetVisible(elem, false)
dgsSetAlpha(elem, 1.0)
end, 750, 1, source)
end
end
)
Try to close the window, it will close and the animation works.
But when you set window visible to true again and try to close it, it won't trigger and won't close
thisdp commented
I remembered that xlive has fixed this issue 🤔
ERAGON007 commented
I have dgs 3.519 installed
ERAGON007 commented
My bad then, thanks!