Add unified window focus opacity and dimming effects

This commit is contained in:
Samuel Onoja committed 2026-10-07 07:00:30 +01:00
1 parent 02ec7e5199
commit bbc5b27c25
21 files changed
+553 -342

No files matched your search

+2
View File
@@ -1121,6 +1121,8 @@ mod tests {
let scale = 0.97 + 0.03 * opacity.current;
let id = WindowId(1);
let presentation = WindowPresentation {
focus_alpha: 1.0,
dim: 0.0,
id,
bounds: AnimatedRect {
current: scaled_visual_rect(normal, scale),