1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-25 08:38:39 +02:00

remove unused variable

This commit is contained in:
Paul Licameli 2017-07-18 16:10:46 -04:00
parent 7f289a9ed9
commit ea9f86e541

View File

@ -120,7 +120,6 @@ UIHandlePtr StretchHandle::HitTest
auto selStart = viewInfo.PositionToTime( state.m_x, rect.x ); auto selStart = viewInfo.PositionToTime( state.m_x, rect.x );
selStart = std::max(t0, std::min(t1, selStart)); selStart = std::max(t0, std::min(t1, selStart));
stretchState.mBeatCenter = pTrack->NearestBeatTime( selStart ); stretchState.mBeatCenter = pTrack->NearestBeatTime( selStart );
bool startNewSelection = true;
if ( within( stretchState.mBeat0.second, if ( within( stretchState.mBeat0.second,
stretchState.mBeatCenter.second, 0.1 ) ) { stretchState.mBeatCenter.second, 0.1 ) ) {
stretchState.mMode = stretchLeft; stretchState.mMode = stretchLeft;