Fixed issue with interface

This commit is contained in:
Devine Lu Linvega
2019-01-09 16:46:26 +12:00
parent 6ae606d876
commit ac753cd9ce
2 changed files with 4 additions and 11 deletions

View File

@@ -51,10 +51,10 @@ function Interface (dotgrid) {
<svg
id="option_${name}"
title="${name.capitalize()}"
onmouseout="dotgrid.interface.out('${type}','${name}')"
onmouseup="dotgrid.interface.up('${type}','${name}')"
onmousedown="dotgrid.interface.down('${type}','${name}')"
onmouseover="dotgrid.interface.over('${type}','${name}')"
onmouseout="DOTGRID.interface.out('${type}','${name}')"
onmouseup="DOTGRID.interface.up('${type}','${name}')"
onmousedown="DOTGRID.interface.down('${type}','${name}')"
onmouseover="DOTGRID.interface.over('${type}','${name}')"
viewBox="0 0 300 300"
class="icon ${type}">
<path id="${name}_path" class="icon_path" d="${tool.icon}"/>${name == 'depth' ? `<path class="icon_path inactive" d=""/>` : ''}