Skip to content

Commit

Permalink
fix compilation on ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
m0dB authored and m0dB committed Apr 7, 2024
1 parent c9c0c23 commit fbbff11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/waveform/renderers/allshader/waveformrendermark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ void allshader::WaveformRenderMark::drawUntilMark(const QMatrix4x4& matrix, floa
QColor(255, 255, 255, ialpha),
devicePixelRatio);
if (untilNextMarkerShow == UntilNextMarkerShow::BeatsAndTime) {
x += w + std::roundf(m_untilNextMarkerSize * 0.75);
x += w + std::round(static_cast<float>(m_untilNextMarkerSize) * 0.75f);
}
if (untilNextMarkerShow == UntilNextMarkerShow::BeatsAndTimeMultiline) {
y += ch;
Expand Down

0 comments on commit fbbff11

Please sign in to comment.