Skip to content

Commit

Permalink
Style review
Browse files Browse the repository at this point in the history
Co-authored-by: Rossmaxx <[email protected]>
  • Loading branch information
DanielKauss and Rossmaxx authored Aug 15, 2024
1 parent 0c356d5 commit 25b3f98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/SlicerT/SlicerT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ void SlicerT::findSlices()
if (noteSnap == 0) { sliceLock = 1; }
for (float& sliceValue : m_slicePoints)
{
sliceValue += sliceLock / 2.;
sliceValue += sliceLock / 2.f;
sliceValue -= static_cast<int>(sliceValue) % sliceLock;
}

Expand Down
6 changes: 3 additions & 3 deletions src/gui/EffectRackView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,16 +216,16 @@ void EffectRackView::update()
}
else
{
( *it )->resize(width() - 35, EffectView::DEFAULT_HEIGHT);
(*it)->resize(width() - 35, EffectView::DEFAULT_HEIGHT);
( *it )->move( EffectViewMargin, m_lastY );
( *it )->update();
(*it)->update();
m_lastY += ( *it )->height();
++nView;
++it;
}
}

w->resize( width() - 35 + 2*EffectViewMargin, m_lastY);
w->resize(width() - 35 + 2 * EffectViewMargin, m_lastY);

QWidget::update();
}
Expand Down

0 comments on commit 25b3f98

Please sign in to comment.