fix
This commit is contained in:
parent
dfb3e8f365
commit
c578140bef
|
@ -101,7 +101,7 @@ function create(name, editor)
|
|||
local workarea = c.screen.workarea
|
||||
local regions = get_regions(workarea)
|
||||
|
||||
if #priv.regions == 0 then return end
|
||||
if #regions == 0 then return end
|
||||
|
||||
local center_x = h.x + h.width / 2
|
||||
local center_y = h.y + h.height / 2
|
||||
|
|
Loading…
Reference in New Issue