Skip to content

Commit 252a143

Browse files
authored
connection.js -- fix niche shape connection situation
1 parent 45bfd59 commit 252a143

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

core/connection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ Blockly.Connection.prototype.connect = function(otherConnection) {
534534
this.connect_(otherConnection);
535535
} else {
536536
// Inferior block.
537-
if (!this.check_ && otherConnection.check_) {
537+
if (!this.check_ || otherConnection.check_) {
538538
// reshape the connected block so it inherits the parent shape
539539
const block = this.sourceBlock_;
540540
if (block.originalOutputShape_ === undefined) block.originalOutputShape_ = block.outputShape_;

0 commit comments

Comments
 (0)