Skip to content

Work out inherited layer order once and pass it down the arrangement - #52

Merged
trissim merged 6 commits into
mainfrom
perf/native-paint-acquisition-20261004
Oct 4, 2026
Merged

trissim merged 6 commits into
mainfrom
perf/native-paint-acquisition-20261004

Conversation

@trissim

@trissim trissim commented Oct 4, 2026 •

Copy link
Copy Markdown

The compositor no longer keeps its own per-node layer lookup that walked parents. It asks Widget._get_layer_order once for the root's ancestry and passes the inherited layers down through arrange_widget and add_widget. A widget that declares its own layers replaces the inherited ones. Changes are in _compositor.py and widget.py, with a test update.

@trissim
trissim marked this pull request as ready for review October 4, 2026 04:51
Copilot AI balanced review requested due to automatic review settings October 4, 2026 04:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@trissim
trissim merged commit 3ec3b3f into main Oct 4, 2026
4 of 23 checks passed
@trissim trissim changed the title Resolve inherited layer order once through native traversal Work out inherited layer order once and pass it down the arrangement Oct 11, 2026
@trissim
trissim deleted the perf/native-paint-acquisition-20261004 branch October 11, 2026 20:05
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.

2 participants