just shoot me in the head
This commit is contained in:
parent
6b8834c8ad
commit
048ab58bf5
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue