This commit is contained in:
kepler155c@gmail.com
2018-12-18 01:20:23 -05:00
parent 4bcc851f22
commit 12aebb0b88
3 changed files with 165 additions and 5 deletions

View File

@@ -44,8 +44,8 @@ local page = UI.Page {
function page.grid:getDisplayValues(row)
row = Util.shallowCopy(row)
row.x = math.floor(row.x)
row.y = math.floor(row.y)
row.x = row.x and math.floor(row.x) or ''
row.y = row.y and math.floor(row.y) or ''
row.z = math.floor(row.z)
return row
end
@@ -54,7 +54,7 @@ function page:eventHandler(event)
if event.type == 'quit' then
Event.exitPullEvents()
elseif event.type == 'project' then
elseif event.type == 'totals' then
config.totals = not config.totals
Config.update('Entities', config)