fix: resize if size is nil
This commit is contained in:
@@ -186,11 +186,7 @@ function M.resize(size)
|
||||
end
|
||||
end
|
||||
|
||||
if type(size) ~= "number" then
|
||||
return
|
||||
end
|
||||
|
||||
if size <= 0 then
|
||||
if type(size) == "number" and size <= 0 then
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user