Add unified window focus opacity and dimming effects
This commit is contained in:
1 parent
02ec7e5199
commit
bbc5b27c25
21 files changed
+553
-342
No files matched your search
@@ -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),
|
||||
|
||||
Reference in new issue
Block a user