Add proper connection layout to any switch. Fix #68
This commit is contained in:
+1
-1
@@ -92,7 +92,7 @@ class AnySwitchforMixin extends RgthreeBaseNode {
|
||||
AnySwitchforMixin.category = (nodeType as any).category;
|
||||
});
|
||||
applyMixins(nodeType, [RgthreeBaseNode, AnySwitchforMixin]);
|
||||
addConnectionLayoutSupport(nodeType, app, [["Left"], ["Right"]]);
|
||||
addConnectionLayoutSupport(nodeType, app, [["Left", "Right"], ["Right", "Left"]]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -54,7 +54,7 @@ class AnySwitchforMixin extends RgthreeBaseNode {
|
||||
AnySwitchforMixin.category = nodeType.category;
|
||||
});
|
||||
applyMixins(nodeType, [RgthreeBaseNode, AnySwitchforMixin]);
|
||||
addConnectionLayoutSupport(nodeType, app, [["Left"], ["Right"]]);
|
||||
addConnectionLayoutSupport(nodeType, app, [["Left", "Right"], ["Right", "Left"]]);
|
||||
}
|
||||
}
|
||||
AnySwitchforMixin.comfyClass = "";
|
||||
|
||||
Reference in New Issue
Block a user