refactor to be tiling window manager friendly
This commit is contained in:
@@ -51,7 +51,7 @@ function Dotgrid(width,height,grid_x,grid_y,block_x,block_y,thickness = 3,lineca
|
||||
|
||||
this.install = function()
|
||||
{
|
||||
document.body.appendChild(this.wrapper);
|
||||
document.getElementById("app").appendChild(this.wrapper);
|
||||
this.wrapper.appendChild(this.element);
|
||||
this.element.appendChild(this.guide.el);
|
||||
this.element.appendChild(this.guide.widgets);
|
||||
|
||||
@@ -6,7 +6,7 @@ function Interface()
|
||||
|
||||
this.start = function()
|
||||
{
|
||||
document.body.appendChild(this.el);
|
||||
document.getElementById("app").appendChild(this.el);
|
||||
|
||||
// Interface
|
||||
var html = ""
|
||||
@@ -55,4 +55,4 @@ function Interface()
|
||||
var win = require('electron').remote.getCurrentWindow();
|
||||
win.setSize(900,this.is_visible ? 420 : 400);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user