Skip to content

Commit

Permalink
Revert "Merge pull request mixxxdj#10979 from m0dB/vumeter_fix"
Browse files Browse the repository at this point in the history
This reverts commit 867e9e4, reversing
changes made to 363b49b.
  • Loading branch information
napaalm committed Mar 23, 2023
1 parent ad492a5 commit bd2d423
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widget/wvumetergl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ void WVuMeterGL::render(VSyncThread* vSyncThread) {
const double widgetPeakPosition = math_clamp(
widgetWidth * m_dPeakParameter, 0.0, widgetWidth);
const double pixmapPeakHoldSize = static_cast<double>(m_iPeakHoldSize);
const double widgetPeakHoldSize = widgetWidth * pixmapPeakHoldSize / pixmapWidth;
const double widgetPeakHoldSize = widgetWidth * pixmapPeakHoldSize / pixmapHeight;

QRectF targetRect(widgetPeakPosition - widgetPeakHoldSize,
0,
Expand Down

0 comments on commit bd2d423

Please sign in to comment.