Improved menus

This commit is contained in:
Devine Lu Linvega
2018-01-13 09:00:53 +13:00
parent 731fd58da1
commit bb43273b6f
4 changed files with 33 additions and 36 deletions

View File

@@ -20,6 +20,11 @@ function Guide()
this.draw();
}
this.toggle = function()
{
this.el.style.opacity = !this.el.style.opacity || this.el.style.opacity == 1 ? 0 : 1;
}
this.draw = function()
{
for (var x = dotgrid.grid_x; x >= 0; x--) {