We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe2727d commit 4371d28Copy full SHA for 4371d28
src/line_cursor.ts
@@ -43,11 +43,10 @@ export class LineCursor extends Marker {
43
}
44
let newNode = this.getNextNode(curNode, this.validLineNode);
45
46
- // Skip the input or next value if there is a connected block.
+ // Skip the input (but not next) connection if there is a connected block.
47
if (
48
newNode &&
49
- (newNode.getType() == ASTNode.types.INPUT ||
50
- newNode.getType() == ASTNode.types.NEXT) &&
+ newNode.getType() === ASTNode.types.INPUT &&
51
(newNode.getLocation() as Blockly.Connection).targetBlock()
52
) {
53
newNode = this.getNextNode(newNode, this.validLineNode);
0 commit comments