This commit is contained in:
Xinhao Yuan 2019-07-11 11:36:39 -04:00
parent dfb3e8f365
commit c578140bef
1 changed files with 1 additions and 1 deletions

View File

@ -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