Skip to content

Commit

Permalink
fix musescore#16422 requesting a duration for a Chord Symbols require…
Browse files Browse the repository at this point in the history
…s the use of utick
  • Loading branch information
jeetee committed Feb 23, 2023
1 parent 802f36d commit 81cc812
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engraving/playback/playbackeventsrenderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ void PlaybackEventsRenderer::renderChordSymbol(const Harmony* chordSymbol,
timestamp_t eventTimestamp = timestampFromTicks(score, positionTick + ticksPositionOffset);
PlaybackEventList& events = result[eventTimestamp];

int durationTicks = realized.getActualDuration(positionTick).ticks();
int durationTicks = realized.getActualDuration(positionTick + ticksPositionOffset).ticks();
BeatsPerSecond bps = score->tempomap()->tempo(positionTick);
duration_t duration = durationFromTicks(bps.val, durationTicks);

Expand Down

0 comments on commit 81cc812

Please sign in to comment.