Small fix

Forgot to check if program is active or not
This commit is contained in:
Robert Jelic
2023-01-01 22:46:34 +01:00
committed by GitHub
parent 29ebd7d4d7
commit 2b85ab9746

View File

@@ -708,6 +708,9 @@ return function(name, parent)
customEventHandler = function(self, event, ...)
base.customEventHandler(self, event, ...)
if (curProcess == nil) then
return
end
if(event=="basalt_resize")then
local w, h = pWindow.getSize()
local pW, pH = self:getSize()