-
Notifications
You must be signed in to change notification settings - Fork 384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
raidboss: Add Option to Order Timeline Bottom-to-Top #5869
Conversation
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.
Nice! Thank you for bringing this across the finish line.
|
||
this.activeEvents = durationEvents; | ||
} | ||
|
||
private _RemoveExpiredTimers(fightNow: number): void { | ||
let activeEvent = this.activeEvents[0]; | ||
while (this.activeEvents.length && activeEvent && activeEvent.time <= fightNow) { | ||
this.ui?.OnRemoveTimer(activeEvent, true); | ||
const event = activeEvent; | ||
if (this.options.KeepExpiredTimerBarsForSeconds > 0) { |
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.
(This introduces regression in the user experience where a previously valid negative KeepExpiredTimerBarsForSeconds value was set to the HTML5 minimum of 4ms. /s)
…5869) This is #4811 with conflicts resolved due to refactoring and 3ae3f6c on top. 3ae3f6c moves the keep alive logic from html_timeline_ui to timeline so that it knows about how many bars are still on screen and also knows when a bar has been expired and it should consider adding more to the list. Closes #4811. --------- Co-authored-by: Panic Stevenson <[email protected]> 35137ba
This is #4811 with conflicts resolved due to refactoring and 3ae3f6c on top. 3ae3f6c moves the keep alive logic from html_timeline_ui to timeline so that it knows about how many bars are still on screen and also knows when a bar has been expired and it should consider adding more to the list.
Closes #4811.