Fix the layoutbox screen

Fix #3004
This commit is contained in:
Emmanuel Lepage Vallée 2020-02-23 16:14:06 -05:00 committed by GitHub
parent dd289e5ab2
commit f88efc8854
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ end
-- @return The layoutbox. -- @return The layoutbox.
function layoutbox.new(args) function layoutbox.new(args)
args = args or {} args = args or {}
local screen = nil local screen = args.screen
if type(args) == "number" or type(args) == "screen" or args.fake_remove then if type(args) == "number" or type(args) == "screen" or args.fake_remove then
screen, args = args, {} screen, args = args, {}