src/litegraph-editor.js

This commit is contained in:
tamat
2019-04-28 10:31:07 +02:00
parent cebd568660
commit 96d7e40957
2 changed files with 110 additions and 8 deletions

View File

@@ -573,7 +573,7 @@ LiteGraph.registerNodeType("basic/object_property", ObjectProperty );
//Watch a value in the editor
function Watch()
{
this.size = [60,20];
this.size = [60,30];
this.addInput("value",0,{label:""});
this.value = 0;
}
@@ -625,7 +625,7 @@ function Cast()
{
this.addInput("in",0);
this.addOutput("out",0);
this.size = [40,20];
this.size = [60,30];
}
Cast.title = "Cast";
@@ -712,7 +712,7 @@ LiteGraph.registerNodeType("basic/alert", Alert );
//Execites simple code
function NodeScript()
{
this.size = [60,20];
this.size = [80,60];
this.addProperty( "onExecute", "return A;" );
this.addInput("A", "");
this.addInput("B", "");