1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-22 07:10:06 +02:00

Bug1176 (snap guides should appear for clicks as well as drags); bug752 remains fixed too

This commit is contained in:
Paul Licameli 2015-09-02 20:40:53 -04:00
parent 6ac9609d10
commit ac5d204e70

View File

@ -2814,8 +2814,8 @@ void TrackPanel::StartSelection(int mouseXCoordinate, int trackLeftEdge)
bool snappedPoint, snappedTime;
if (mSnapManager->Snap(mCapturedTrack, mSelStart, false,
&s, &snappedPoint, &snappedTime)) {
//if (snappedPoint)
//mSnapLeft = mViewInfo->TimeToPosition(s, trackLeftEdge);
if (snappedPoint)
mSnapLeft = mViewInfo->TimeToPosition(s, trackLeftEdge);
}
}