just shoot me in the head

This commit is contained in:
Erica Z 2024-11-05 10:38:43 +01:00
parent 6b8834c8ad
commit 048ab58bf5

View file

@ -63,7 +63,7 @@ mod imp {
impl Playbar { impl Playbar {
#[template_callback] #[template_callback]
fn format_timestamp(&self, s: f64) -> String { fn format_timestamp(&self, s: f64) -> String {
format!("{:02}:{:02}", (s as i64) / 64, (s as i64) % 60) format!("{:02}:{:02}", (s as i64) / 60, (s as i64) % 60)
} }
#[template_callback] #[template_callback]