diff --git a/ts/any_switch.ts b/ts/any_switch.ts index 7e8b155..684151f 100644 --- a/ts/any_switch.ts +++ b/ts/any_switch.ts @@ -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"]]); } } diff --git a/web/any_switch.js b/web/any_switch.js index e54e7b6..0012716 100644 --- a/web/any_switch.js +++ b/web/any_switch.js @@ -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 = "";