refactor to be tiling window manager friendly

This commit is contained in:
mix irving
2017-11-16 21:42:46 +13:00
parent a4cce3eb85
commit cb41477afa
4 changed files with 35 additions and 27 deletions

View File

@@ -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);
}
}
}