iris: drive animation from painter frame time
This commit is contained in:
1 parent
9fe6aca1f1
commit
b1416d86bf
19 files changed
+171
-133
No files matched your search
@@ -31,8 +31,6 @@ fn what_a_fling_frame_costs() {
|
||||
let velocity = if pass % 2 == 0 { VELOCITY } else { -VELOCITY };
|
||||
let list = (opened.screen.list)(&mut h.rsc);
|
||||
list.fling(velocity);
|
||||
let id = opened.screen.list.id();
|
||||
h.rsc.ui.animate(id);
|
||||
|
||||
let mut frames = Vec::new();
|
||||
let mut layouts = Vec::new();
|
||||
|
||||
Reference in new issue
Block a user