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 loadedProject = {}\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
|
||||
|
||||
@@ -209,6 +209,7 @@ end
|
||||
--- @protected
|
||||
function DropDown:focus()
|
||||
VisualElement.focus(self)
|
||||
self:prioritize()
|
||||
self:setState("opened")
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user