fix
This commit is contained in:
parent
274751a6e0
commit
1d9318eb92
1 changed files with 2 additions and 1 deletions
|
@ -128,9 +128,10 @@ mod imp {
|
||||||
if new_position > self.window().duration() {
|
if new_position > self.window().duration() {
|
||||||
// just seek to the next track
|
// just seek to the next track
|
||||||
self.on_skip_forward_clicked();
|
self.on_skip_forward_clicked();
|
||||||
}
|
} else {
|
||||||
self.window().seek(new_position);
|
self.window().seek(new_position);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#[template_callback]
|
#[template_callback]
|
||||||
fn on_play_pause_clicked(&self, _button: >k::Button) {
|
fn on_play_pause_clicked(&self, _button: >k::Button) {
|
||||||
|
|
Loading…
Reference in a new issue