Cleaning up the renderer

This commit is contained in:
Devine Lu Linvega
2019-01-09 14:45:20 +12:00
parent d8f3e0191f
commit 1f4b917318
3 changed files with 36 additions and 46 deletions

View File

@@ -55,7 +55,7 @@ DOTGRID.Guide = function () {
}
this.resize = function (size) {
const offset = 15
const offset = 0
this.el.width = (size.width + offset) * this.scale
this.el.height = (size.height + (offset * 2)) * this.scale
this.el.style.width = (size.width + offset) + 'px'