Skip to content

fix: Fix bug that caused some connections to refuse to connect when dragging from the toolbox#10171

Merged
gonfunko merged 1 commit into
mainfrom
drag-connections
Jul 22, 2026
Merged

fix: Fix bug that caused some connections to refuse to connect when dragging from the toolbox#10171
gonfunko merged 1 commit into
mainfrom
drag-connections

Conversation

@gonfunko

Copy link
Copy Markdown
Contributor

The basics

The details

Resolves

Fixes #10145

Proposed Changes

This PR fixes a bug that caused only some connections to be connectable when dragging a block out of the toolbox. The new block wasn't being rendered before connections were cached, so all of its connections were cached as if they were located at (0, 0) on the block. Now, the block is immediately rendered, so connections get their correct offsets and the connection cache is correctly populated.

@gonfunko
gonfunko requested a review from a team as a code owner July 22, 2026 17:33
@gonfunko
gonfunko requested a review from mikeharv July 22, 2026 17:33
@github-actions github-actions Bot added the PR: fix Fixes a bug label Jul 22, 2026

@mikeharv mikeharv left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@gonfunko
gonfunko merged commit 7658622 into main Jul 22, 2026
9 checks passed
@gonfunko
gonfunko deleted the drag-connections branch July 22, 2026 17:37
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.

With Zelos "connection point" is not computed correctly for a block that comes from toolbox

2 participants