-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remaining chapter time in top bar wasn't accounting for speed
closes #873
- Loading branch information
1 parent
db985f1
commit 581adf4
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
581adf4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If
destination_time
≠playtime-remaining
, this value shouldn't be scaled with speed.https://github.com/tomasklaen/uosc/blob/581adf4c5bf77f32004a2b2e4da9bb393f4781cb/src/uosc.conf#L178C1-L178C36
581adf4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining time should always be scaled with speed. We don't scale only if we're displaying total time, but this chapter thingy only displays remaining chapter time.
Or do you mean we should display total chapter time when
destination_time
istime-remaining
? Would anyone want that?581adf4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NO. See your description
581adf4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Your can see the img above. It's strange one show 19seconds left while another show 2:49seconds left.
581adf4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, sorry. I'm moving through these too fast :) I pushed the fix.