Fixed issue with close

This commit is contained in:
Devine Lu Linvega
2018-05-11 09:13:01 +12:00
parent 1ac7c46c0e
commit b7e8b8e578
4 changed files with 16 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ function Interface()
this.menu_el.innerHTML = html
}
this.update = function()
this.refresh = function()
{
document.getElementById("line").className.baseVal = !dotgrid.tool.can_cast("line") ? "icon inactive" : "icon";
document.getElementById("arc_c").className.baseVal = !dotgrid.tool.can_cast("arc_c") ? "icon inactive" : "icon";