Skip to content

Commit 40927bb

Browse files
chore: rename isTopLevelBlock -> isStartBlock
1 parent 52a8420 commit 40927bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/actions/enter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,11 +153,11 @@ export class EnterAction {
153153
workspace.getCursor()?.setCurNode(ASTNode.createBlockNode(newBlock)!);
154154
this.mover.startMove(workspace);
155155

156-
const isTopLevelBlock =
156+
const isStartBlock =
157157
!newBlock.outputConnection &&
158158
!newBlock.nextConnection &&
159159
!newBlock.previousConnection;
160-
if (isTopLevelBlock) {
160+
if (isStartBlock) {
161161
showUnconstrainedMoveHint(workspace, false);
162162
} else {
163163
showConstrainedMovementHint(workspace);

0 commit comments

Comments
 (0)