Skip to content

Commit

Permalink
Whoops, we don't need to multiply
Browse files Browse the repository at this point in the history
  • Loading branch information
rdbende committed Jan 7, 2024
1 parent 84dee61 commit d931834
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cozy/view_model/playback_control_view_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def relative_position(self, new_value: float) -> None:
return

length = self._player.loaded_book.current_chapter.length
self._player.position = new_value / 100 * length * self._book.playback_speed
self._player.position = new_value / 100 * length

@property
def lock_ui(self) -> bool:
Expand Down

0 comments on commit d931834

Please sign in to comment.