diff --git a/packages/xod-client/src/core/styles/components/Node.scss b/packages/xod-client/src/core/styles/components/Node.scss index efa4f8e2..790a46a7 100644 --- a/packages/xod-client/src/core/styles/components/Node.scss +++ b/packages/xod-client/src/core/styles/components/Node.scss @@ -110,7 +110,7 @@ &.error { stroke: $color-datatype-dead; } - &.generic { + &.t1 { stroke: $color-node-outline; } } diff --git a/packages/xod-client/src/project/components/nodeParts/JumperNodeBody.jsx b/packages/xod-client/src/project/components/nodeParts/JumperNodeBody.jsx index f0722740..339cc831 100644 --- a/packages/xod-client/src/project/components/nodeParts/JumperNodeBody.jsx +++ b/packages/xod-client/src/project/components/nodeParts/JumperNodeBody.jsx @@ -14,8 +14,9 @@ const JumperNodeBody = ({ pins }) => { const type = R.cond([ [() => inConnected, R.pipe(R.prop(INPUT_PINKEY), getRenderablePinType)], - [() => outConnected, R.pipe(R.prop(OUTPUT_PINKEY), getRenderablePinType)], - [R.T, R.always('generic')], + // if output pin is not connected as well, + // it will fall back to good old `t1` + [R.T, R.pipe(R.prop(OUTPUT_PINKEY), getRenderablePinType)], ])(pins); const isConnected =