Skip to content

Commit

Permalink
cast
Browse files Browse the repository at this point in the history
  • Loading branch information
m0dB authored and m0dB committed Jan 2, 2024
1 parent be9e1d9 commit 7711302
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/waveform/renderers/waveformmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ struct MarkerGeometry {
}

const float increment = std::max<float>(0.f,
m_labelRect.height() + 2.f - std::max(0.f, 80.f - breadth));
static_cast<float>(m_labelRect.height()) + 2.f - std::max(0.f, 80.f - breadth));

if (alignV == Qt::AlignVCenter) {
m_labelRect.moveTop((m_imageSize.height() - m_labelRect.height()) / 2.f);
Expand Down

0 comments on commit 7711302

Please sign in to comment.