mirror of
https://github.com/kepler155c/opus
synced 2025-10-23 03:37:40 +00:00
1.79+ theme
This commit is contained in:
@@ -3323,7 +3323,7 @@ end
|
||||
|
||||
UI:loadTheme('config/ui.theme')
|
||||
if os.getVersion() >= 1.79 then
|
||||
UI:loadTheme('config/ext.theme')
|
||||
UI:loadTheme('sys/etc/ext.theme')
|
||||
end
|
||||
|
||||
UI:setDefaultDevice(UI.Device({ device = term.current() }))
|
||||
|
@@ -118,14 +118,6 @@ function Util.keys(t)
|
||||
return keys
|
||||
end
|
||||
|
||||
function Util.invert(t)
|
||||
local nt = { }
|
||||
for k,v in pairs(t) do
|
||||
nt[v] = k
|
||||
end
|
||||
return nt
|
||||
end
|
||||
|
||||
function Util.merge(obj, args)
|
||||
if args then
|
||||
for k,v in pairs(args) do
|
||||
|
Reference in New Issue
Block a user