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

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