Skip to content

Own UI themes and paint caches explicitly - #385

Merged
devmobasa merged 1 commit into
mainfrom
refactor/ui-render-resources
Sep 4, 2026
Merged

Own UI themes and paint caches explicitly#385
devmobasa merged 1 commit into
mainfrom
refactor/ui-render-resources

Conversation

@devmobasa

Copy link
Copy Markdown
Owner

Give the overlay and About dialog independent resolved themes, and let the overlay retain its help-layout and radial-menu caches through explicit UI rendering contexts.

Preserve cache keys, scrolling behavior, matrix-derived density, and existing popup colors. Radial cache entries now compare theme values so reused surfaces cannot retain colors from another theme. Standalone rendering APIs retain their theme-initialization behavior, including returning from empty paints before initializing the legacy theme.

Add regressions for cache reuse and invalidation, independent owners, theme and density changes, help scrolling, themed status/zoom/About output, and standalone API compatibility.

Validation: ./tools/lint-and-test.sh passes with Rust 1.98.1, including formatting, workspace clippy, builds, and tests with all features and no default features.

@devmobasa
devmobasa merged commit 3001f93 into main Sep 4, 2026
2 checks passed
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