mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-10 09:01:13 +02:00
Remove WaveTrackVRulerControls::DoZoomPreset...
... it became unused at 3797a5227ac4d26e6139b194554fb3543fa62949
This commit is contained in:
parent
e2a2cf3edb
commit
4a19a3625b
@ -57,29 +57,6 @@ std::vector<UIHandlePtr> WaveTrackVRulerControls::HitTest
|
||||
return results;
|
||||
}
|
||||
|
||||
void WaveTrackVRulerControls::DoZoomPreset( int i)
|
||||
{
|
||||
|
||||
const auto pTrack = FindTrack();
|
||||
if (!pTrack)
|
||||
return;
|
||||
|
||||
const auto wt = static_cast<WaveTrack*>(pTrack.get());
|
||||
|
||||
// Don't do all channels, that causes problems when updating display
|
||||
// during recording and there are special pending tracks.
|
||||
// This function implements WaveTrack::DoSetMinimized which is always
|
||||
// called in a context that loops over linked tracks too and reinvokes.
|
||||
using namespace WaveTrackViewConstants;
|
||||
WaveTrackVZoomHandle::DoZoom(
|
||||
NULL, wt, false,
|
||||
(i==1)
|
||||
? kZoomHalfWave
|
||||
: kZoom1to1,
|
||||
wxRect(0,0,0,0), 0,0, true);
|
||||
}
|
||||
|
||||
|
||||
unsigned WaveTrackVRulerControls::HandleWheelRotation
|
||||
(const TrackPanelMouseEvent &evt, AudacityProject *pProject)
|
||||
{
|
||||
|
@ -33,7 +33,6 @@ public:
|
||||
unsigned HandleWheelRotation
|
||||
(const TrackPanelMouseEvent &event,
|
||||
AudacityProject *pProject) override;
|
||||
void DoZoomPreset( int i);
|
||||
private:
|
||||
// TrackPanelDrawable implementation
|
||||
void Draw(
|
||||
|
Loading…
x
Reference in New Issue
Block a user