Fixed install.lua issue
This commit is contained in:
@@ -572,7 +572,7 @@ local function installCustom(installPath, log, progressBar, selectedElements, se
|
|||||||
'local project = {}\n',
|
'local project = {}\n',
|
||||||
'local loadedProject = {}\n',
|
'local loadedProject = {}\n',
|
||||||
'local baseRequire = require\n',
|
'local baseRequire = require\n',
|
||||||
'require = function(path) if(project[path..".lua"])then if(loadedProject[path]==nil)then loadedProject[path] = project[path..".lua"]() end return loadedProject[path] end baseRequire(path) end\n'
|
'require = function(path) if(project[path..".lua"])then if(loadedProject[path]==nil)then loadedProject[path] = project[path..".lua"]() end return loadedProject[path] end return baseRequire(path) end\n'
|
||||||
}
|
}
|
||||||
|
|
||||||
for filePath, content in pairs(project) do
|
for filePath, content in pairs(project) do
|
||||||
|
|||||||
@@ -209,6 +209,7 @@ end
|
|||||||
--- @protected
|
--- @protected
|
||||||
function DropDown:focus()
|
function DropDown:focus()
|
||||||
VisualElement.focus(self)
|
VisualElement.focus(self)
|
||||||
|
self:prioritize()
|
||||||
self:setState("opened")
|
self:setState("opened")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user