mirror of
https://github.com/kepler155c/opus
synced 2025-12-19 22:58:06 +00:00
ui overhaul
This commit is contained in:
@@ -7,6 +7,9 @@ return function(base)
|
||||
local c = { } -- a new class instance
|
||||
if type(base) == 'table' then
|
||||
-- our new class is a shallow copy of the base class!
|
||||
if base._preload then
|
||||
base = base._preload(base)
|
||||
end
|
||||
for i,v in pairs(base) do
|
||||
c[i] = v
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user