This commit is contained in:
hrsh7th
2022-04-14 11:47:07 +09:00
parent dbc7229029
commit 7e07dd50ac
2 changed files with 13 additions and 2 deletions

View File

@@ -99,6 +99,9 @@ misc.merge = function(v1, v2)
if v2 == misc.none then
return nil
else
if type(v2) == 'table' then
return misc.merge({}, v2)
end
return v2
end
end
@@ -251,3 +254,4 @@ misc.redraw = setmetatable({
})
return misc