mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-25 16:59:45 +00:00
Merge branch 'master' of https://github.com/jagenjo/litegraph.js
This commit is contained in:
@@ -363,7 +363,7 @@
|
||||
return -1;
|
||||
if(l == 1)
|
||||
return 0;
|
||||
//dichotimic search
|
||||
//dichotomic search
|
||||
while (imax >= imin)
|
||||
{
|
||||
imid = ((imax + imin)*0.5)|0;
|
||||
|
||||
@@ -5338,7 +5338,7 @@ void main(void){\n\
|
||||
}
|
||||
gl.finish2D();
|
||||
});
|
||||
else //rendering to offscren canvas and uploading to texture
|
||||
else //rendering to offscreen canvas and uploading to texture
|
||||
{
|
||||
if(properties.clear)
|
||||
ctx.clearRect(0,0,canvas.width,canvas.height);
|
||||
|
||||
@@ -93,10 +93,10 @@
|
||||
logicAnd.title = "AND";
|
||||
logicAnd.desc = "Return true if all inputs are true";
|
||||
logicAnd.prototype.onExecute = function() {
|
||||
ret = true;
|
||||
for (inX in this.inputs){
|
||||
var ret = true;
|
||||
for (var inX in this.inputs){
|
||||
if (!this.getInputData(inX)){
|
||||
ret = false;
|
||||
var ret = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -119,8 +119,8 @@
|
||||
logicOr.title = "OR";
|
||||
logicOr.desc = "Return true if at least one input is true";
|
||||
logicOr.prototype.onExecute = function() {
|
||||
ret = false;
|
||||
for (inX in this.inputs){
|
||||
var ret = false;
|
||||
for (var inX in this.inputs){
|
||||
if (this.getInputData(inX)){
|
||||
ret = true;
|
||||
break;
|
||||
@@ -159,9 +159,9 @@
|
||||
logicCompare.title = "bool == bool";
|
||||
logicCompare.desc = "Compare for logical equality";
|
||||
logicCompare.prototype.onExecute = function() {
|
||||
last = null;
|
||||
ret = true;
|
||||
for (inX in this.inputs){
|
||||
var last = null;
|
||||
var ret = true;
|
||||
for (var inX in this.inputs){
|
||||
if (last === null) last = this.getInputData(inX);
|
||||
else
|
||||
if (last != this.getInputData(inX)){
|
||||
|
||||
Reference in New Issue
Block a user