Reflect size change on dotgrid
This commit is contained in:
@@ -434,6 +434,8 @@ function Dotgrid(width,height,grid_x,grid_y,block_x,block_y)
|
||||
{
|
||||
if(size.width < 50 || size.height < 50){ return; }
|
||||
|
||||
size = { width:parseInt(size.width/15)*15,height:parseInt(size.height/15)*15}
|
||||
|
||||
var win = require('electron').remote.getCurrentWindow();
|
||||
win.setSize(size.width+100,size.height+100+(interface ? 10 : 0),true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user