1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-26 00:03:52 +02:00

ZoomToggle - Changes from user feedback.

- Enable ZoomToggle Button by default.
- Set less extreme defaults.
- Repurpose 'Z' shortcut (from Zero Crossings)
This commit is contained in:
James Crook
2018-01-08 12:51:16 +00:00
parent 8a074770e8
commit 21192a7e7b
4 changed files with 11 additions and 10 deletions

View File

@@ -86,7 +86,7 @@ void TracksPrefs::Populate()
mSampleDisplayChoices.Add(_("Stem plot"));
mSampleDisplayCodes.Add((int) WaveTrack::StemPlot);
mZoomChoices.Add( _("Zoom to Fit") );
mZoomChoices.Add( _("Fit to Width") );
mZoomCodes.Add( WaveTrack::kZoomToFit );
mZoomChoices.Add( _("Zoom to Selection") );
mZoomCodes.Add( WaveTrack::kZoomToSelection );
@@ -176,7 +176,7 @@ void TracksPrefs::PopulateOrExchange(ShuttleGui & S)
S.TieChoice(_("Preset 2:"),
wxT("/GUI/ZoomPreset2"),
WaveTrack::kZoom4To1,
WaveTrack::kZoomMinutes,
mZoomChoices,
mZoomCodes);
S.SetSizeHints(mZoomChoices);