Improved scaling

This commit is contained in:
Devine Lu Linvega
2018-07-29 17:15:01 +12:00
parent 55985a3399
commit 983b307429
17 changed files with 16 additions and 1531 deletions

View File

@@ -459,7 +459,7 @@ function Dotgrid(width,height,grid_x,grid_y,block_x,block_y)
this.position_in_grid = function(pos)
{
return {x:(window.innerWidth/2) - (this.tool.settings.size.width/2) - pos.x,y:pos.y - (30+10)}
return {x:(window.innerWidth/2) - (this.tool.settings.size.width/2) - pos.x - 5,y:pos.y - (30+5)}
}
this.position_on_grid = function(pos)