I meant fourth

This commit is contained in:
cantbesure1 2017-11-12 13:50:25 -08:00
parent e21cf2cbf2
commit e7bc2e76cf
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ app.on('ready', () =>
is_shown = true;
})
// Open the DevTools.
win.webContents.openDevTools()
// win.webContents.openDevTools()
})
app.on('window-all-closed', () =>

View File

@ -135,7 +135,7 @@ function Dotgrid(width,height,grid_x,grid_y,block_x,block_y,thickness = 3,lineca
this.cursor.style.left = Math.floor(-(pos.x-this.grid_width));
this.cursor.style.top = Math.floor(pos.y+this.grid_height);
this.cursor_coord.className = -pos.x > 150 ? "fl left" : "fl"
this.cursor_coord.className = -pos.x > this.width/2 ? "fl left" : "fl"
this.cursor_coord.textContent = parseInt(-pos.x/this.grid_width)+","+parseInt(pos.y/this.grid_height);
}