Fix #233
This commit is contained in:
parent
9a6313bfae
commit
cad26ff8f9
@ -197,6 +197,11 @@ class PlaylistTrack:
|
||||
milliseconds=update_graph_at_ms
|
||||
)
|
||||
|
||||
# Calculate time fade_graph should start updating
|
||||
if self.fade_at:
|
||||
update_graph_at_ms = max(0, self.fade_at - Config.FADE_CURVE_MS_BEFORE_FADE - 1)
|
||||
self.fade_graph_start_updates = now + timedelta(milliseconds=update_graph_at_ms)
|
||||
|
||||
|
||||
class AddFadeCurve(QObject):
|
||||
"""
|
||||
|
||||
Loading…
Reference in New Issue
Block a user