Skip to content

refactor: remove redundant flyout positioning.#8573

Merged
gonfunko merged 2 commits into
RaspberryPiFoundation:rc/v12.0.0from
gonfunko:flyout-performance
Sep 18, 2024
Merged

refactor: remove redundant flyout positioning.#8573
gonfunko merged 2 commits into
RaspberryPiFoundation:rc/v12.0.0from
gonfunko:flyout-performance

Conversation

@gonfunko

Copy link
Copy Markdown
Contributor

The basics

The details

This PR removes a redundant call to Flyout.position() in WorkspaceSvg. The code calls Toolbox.position() on the previous line, which in turn calls Flyout.position(), so the flyout was needlessly being positioned twice.

Comment thread core/workspace_svg.ts
@gonfunko gonfunko merged commit c79610c into RaspberryPiFoundation:rc/v12.0.0 Sep 18, 2024
@gonfunko gonfunko deleted the flyout-performance branch September 18, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants