mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2025-12-31 00:10:44 -06:00
Multiple small fixes
- Turn the planet lighting actions from mixed case to lower case - Fix the openspace.rebindKey Lua function which did not work before - Fix the openspace.downloadFile function which would fail when not waiting for the the result - Rename openspace.walkDirectoryFolder to openspace.walkDirectoryFolders for consistency - Remove the openspace.saveLastChangeToProfile function
This commit is contained in:
@@ -76,7 +76,7 @@ openspace.setDefaultGuiSorting = function()
|
||||
end
|
||||
|
||||
openspace.rebindKey = function(oldKey, newKey)
|
||||
local t = openspace.getKeyBinding(oldKey)
|
||||
local t = openspace.keyBindings(oldKey)
|
||||
openspace.clearKey(oldKey)
|
||||
for _, v in pairs(t) do
|
||||
openspace.bindKey(newKey, v)
|
||||
|
||||
Reference in New Issue
Block a user