This commit is contained in:
Devine Lu Linvega
2017-09-27 14:06:29 +13:00
parent 18d74479a2
commit 35cd4c5983
3 changed files with 9 additions and 8 deletions

View File

@@ -26,7 +26,7 @@ function Docs()
{
html = "# Ronin\n";
html += "Ronin is a simple open-source graphic design tool.\n\n";
html += "<img src='https://raw.githubusercontent.com/hundredrabbits/Ronin/master/PREVIEW.jpg' width='600'/>\n";
html += "<img src='https://raw.githubusercontent.com/hundredrabbits/Ronin/master/PREVIEW.jpg' width='600'/>\n\n";
return html;
}
@@ -73,7 +73,7 @@ function Docs()
for(port_name in ports){
var port = ports[port_name];
console.log(ports);
html += "- `->"+port.name+"` *"+port.input+","+port.output+"* **"+port.value+"/"+port.max+"** "+port.docs+".\n";
html += "- `"+(port.input ? '->' : '')+""+port.name+""+(port.output ? '->' : '')+"` (I:*"+port.input+"* "+port.value+", O:*"+port.output+"* "+port.max+"), "+port.docs+".\n";
}
return html;
}

View File

@@ -13,7 +13,7 @@ function Brush()
this.ports = {};
this.ports.speed = new Port("speed",false,true,0,50,"The cursor speed");
this.ports.distance = new Port("distance",false,true,0,null,"The cursor distance");
this.ports.distance = new Port("distance",false,true,0,9999,"The cursor distance");
this.ports.red = new Port("red",true,true,0,255,"The brush color value(red)");
this.ports.green = new Port("green",true,true,0,255,"The brush color value(green)");
this.ports.blue = new Port("blue",true,true,0,255,"The brush color value(blue)");