You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The label could be set before. The early return is presumably to avoid unnecessary computations if there's nothing to display, but if that prevents changing state for a future display, that's a bug.
The current playback position label doesn't get updated if the playhead is not visible. The label is updated in `_draw_indicator()` at the end of the function, but we return early if the calculated offset falls outside the valid range. This fix moves the label updating above this check, ensuring that the label always gets updated regardless of the visibility of the playhead.
Fixesgodotengine#86550.
akien-mga
pushed a commit
to akien-mga/godot
that referenced
this issue
Mar 11, 2024
The current playback position label doesn't get updated if the playhead is not visible. The label is updated in `_draw_indicator()` at the end of the function, but we return early if the calculated offset falls outside the valid range. This fix moves the label updating above this check, ensuring that the label always gets updated regardless of the visibility of the playhead.
Fixesgodotengine#86550.
(cherry picked from commit 155bebf)
Tested versions
System information
Godot v4.2.1.stable - Windows 10.0.22621
Issue description
When imported audio is playing in Audio Stream Importer, unless the playhead is visible, current playback position is not updated.
Steps to reproduce
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: