Skip to content

Prevent unnecessary control measurement - #61

Open
Flojo101 wants to merge 15 commits into
masterfrom
feature/new-netlist-control
Open

Flojo101 wants to merge 15 commits into
masterfrom
feature/new-netlist-control

Conversation

@Flojo101

@Flojo101 Flojo101 commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

This PR replaces the Scale, Width and Height properties with conventional variables. This bypasses the Avalonia property store, thereby improving performance. Additionally, this prevents unnecessary measure passes, since Layoutable.cs adds a listener that remeasures a control when its Height or Width changes. Accordingly, measurements are now only done when actually needed. The controls used to display the netlist override the Avalonia measurement and arrangement system; These overrides were adjusted to use the new variables.

@Flojo101
Flojo101 force-pushed the feature/new-netlist-control branch from a3489b6 to 73500dd Compare September 7, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant