Skip to content

fix: Fix bug that caused blocks to skip valid destinations when moving with looping disabled#9894

Open
gonfunko wants to merge 2 commits into
v13from
move-destinations
Open

fix: Fix bug that caused blocks to skip valid destinations when moving with looping disabled#9894
gonfunko wants to merge 2 commits into
v13from
move-destinations

Conversation

@gonfunko
Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes #9882

Proposed Changes

This PR fixed a bug that caused moving blocks in constrained mode to skip valid destinations when navigation looping was disabled. The check for whether a block was in a terminal position, i.e. unattached on the workspace above or below all other blocks with valid connections, was only checking connections on top-level blocks to see if the block in question could connect. It now checks all connections in each block stack.

@gonfunko gonfunko requested a review from a team as a code owner May 18, 2026 19:26
@gonfunko gonfunko requested a review from mikeharv May 18, 2026 19:26
@github-actions github-actions Bot added the PR: fix Fixes a bug label May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants