This commit is contained in:
Keith Edmunds 2024-04-27 18:47:06 +01:00
parent 9a6313bfae
commit cad26ff8f9

View File

@ -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):
"""