Skip to content

Commit

Permalink
Merge pull request #2089 from latenitefilms/issue-2088-hs-grid
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsj authored May 3, 2019
2 parents 24ce5ae + 877392b commit de31df8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/grid/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,9 @@ end
--- * None

local function getCellSize(theScreen)
getGrid(theScreen)
local g = getGrid(theScreen)
local screenframe=getGridFrame(theScreen)
return geom.size(screenframe.w/grid.w,screenframe.h/grid.h)
return geom.size(screenframe.w / g.w, screenframe.h / g.h)
end

local function round(num, idp)
Expand Down

0 comments on commit de31df8

Please sign in to comment.