We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b89f742 commit 17a7eccCopy full SHA for 17a7ecc
src/waveform/renderers/allshader/waveformrenderersimple.cpp
@@ -62,7 +62,7 @@ bool WaveformRendererSimple::preprocessInner() {
62
const int length = static_cast<int>(m_waveformRenderer->getLength());
63
const int pixelLength = static_cast<int>(m_waveformRenderer->getLength() * devicePixelRatio);
64
const float invDevicePixelRatio = 1.f / devicePixelRatio;
65
- const float halfPixelSize = 0.5 / devicePixelRatio;
+ const float halfPixelSize = 0.5f / devicePixelRatio;
66
67
// Note that waveform refers to the visual waveform, not to audio samples.
68
//
0 commit comments