mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-04 21:50:51 +01:00
Rewrite SnapManager to avoid using ZoomInfo::zoom
This commit is contained in:
committed by
Paul Licameli
parent
5418ce377b
commit
fe36b636cb
@@ -2204,7 +2204,7 @@ void AdornedRulerPanel::HandleSnapping()
|
||||
delete mSnapManager;
|
||||
}
|
||||
mSnapManager = new SnapManager(mProject->GetTracks(), NULL,
|
||||
mViewInfo->zoom,
|
||||
*mViewInfo,
|
||||
QUICK_PLAY_SNAP_PIXEL);
|
||||
bool snappedPoint, snappedTime;
|
||||
mIsSnapped = (mSnapManager->Snap(NULL, mQuickPlayPos, false,
|
||||
|
||||
Reference in New Issue
Block a user