Skip to content

Fix color wheel debug performance - #25857

Merged
alice-i-cecile merged 1 commit into
bevyengine:mainfrom
tmstorey:color_wheel_debug_performance
Sep 20, 2026
Merged

alice-i-cecile merged 1 commit into
bevyengine:mainfrom
tmstorey:color_wheel_debug_performance

Conversation

@tmstorey

@tmstorey tmstorey commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

Objective

PR #25536 fixed performance for the color sliders and plane, but not the wheel as it had not merged yet.

Solution

This PR replicates the solution by using UiTransform instead of Node::left/Node::top to position the thumbs. This avoids a Taffy relayout.

Testing

Ran feathers_gallery, thumbs are still positioned correctly. Performance is slightly better on my machine, around 50fps rather than 45.

@alice-i-cecile alice-i-cecile added this to the 0.20 milestone Sep 20, 2026
@alice-i-cecile alice-i-cecile added C-Performance A change motivated by improving speed, memory usage or compile times A-UI Graphical user interfaces, styles, layouts, and widgets D-Straightforward Simple bug fixes and API improvements, docs, test and examples labels Sep 20, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in UI Sep 20, 2026
@alice-i-cecile

alice-i-cecile commented Sep 20, 2026 •

Copy link
Copy Markdown
Member

@cookie1170 @bugsweeper could I get a second quick review? :)

@alice-i-cecile alice-i-cecile added the S-Needs-Review Needs reviewer attention (from anyone!) to move forward label Sep 20, 2026
@alice-i-cecile alice-i-cecile added S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it and removed S-Needs-Review Needs reviewer attention (from anyone!) to move forward labels Sep 20, 2026
@alice-i-cecile
alice-i-cecile added this pull request to the merge queue Sep 20, 2026
Merged via the queue into bevyengine:main with commit de49aa2 Sep 20, 2026
49 checks passed
@github-project-automation github-project-automation Bot moved this from Needs SME Triage to Done in UI Sep 20, 2026
gregcsokas pushed a commit to gregcsokas/bevy that referenced this pull request Sep 21, 2026
# Objective

PR bevyengine#25536 fixed performance for the color sliders and plane, but not the
wheel as it had not merged yet.

## Solution

This PR replicates the solution by using `UiTransform` instead of
`Node::left`/`Node::top` to position the thumbs. This avoids a Taffy
relayout.

## Testing

Ran `feathers_example`, thumbs are still positioned correctly.
Performance is slightly better on my machine, around 50fps rather than
45.
mockersf pushed a commit that referenced this pull request Sep 25, 2026
# Objective

PR #25536 fixed performance for the color sliders and plane, but not the
wheel as it had not merged yet.

## Solution

This PR replicates the solution by using `UiTransform` instead of
`Node::left`/`Node::top` to position the thumbs. This avoids a Taffy
relayout.

## Testing

Ran `feathers_example`, thumbs are still positioned correctly.
Performance is slightly better on my machine, around 50fps rather than
45.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-UI Graphical user interfaces, styles, layouts, and widgets C-Performance A change motivated by improving speed, memory usage or compile times D-Straightforward Simple bug fixes and API improvements, docs, test and examples S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants