mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-05 14:18:53 +02:00
Allow NoteTrack to stretch left of zero
This commit is contained in:
parent
82ce041c75
commit
54636c65fa
@ -2795,7 +2795,7 @@ auto TrackPanel::ChooseStretchMode
|
||||
pState->mBeat1 =
|
||||
nt->NearestBeatTime( viewInfo.selectedRegion.t1() );
|
||||
|
||||
auto selStart = std::max(0.0, viewInfo.PositionToTime(event.m_x, rect.x));
|
||||
auto selStart = viewInfo.PositionToTime(event.m_x, rect.x);
|
||||
pState->mBeatCenter = nt->NearestBeatTime( selStart );
|
||||
|
||||
if ( within( pState->mBeat0.second, pState->mBeatCenter.second, 0.1 ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user