Skip to content

Commit d91f47d

Browse files
committed
Temporarily always animate at 60fps
Libcosmic needs to correctly expose a subscription to the display's refresh rate.
1 parent 5b96d61 commit d91f47d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/timeline.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ impl Timeline {
575575
|| (track.0.end >= now.unwrap() && track.0.pause.is_playing())
576576
})
577577
{
578-
cosmic::iced_runtime::window::frames()
578+
cosmic::iced::time::every(Duration::from_secs(1. / 60.))
579579
} else {
580580
Subscription::none()
581581
}

0 commit comments

Comments
 (0)