1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-20 17:41:13 +02:00

Disable Scrub Ruler by default

This commit is contained in:
Steve Daulton
2018-11-03 14:59:51 +00:00
parent 472240494c
commit bc60de2ffa
2 changed files with 2 additions and 6 deletions

View File

@@ -904,12 +904,8 @@ namespace {
bool ReadScrubEnabledPref()
{
bool result {};
// DA: Scrub is disabled by default.
#ifdef EXPERIMENTAL_DA
gPrefs->Read(scrubEnabledPrefName, &result, false);
#else
gPrefs->Read(scrubEnabledPrefName, &result, true);
#endif
return result;
}

View File

@@ -258,7 +258,7 @@ namespace {
{ wxT("ToggleScrubRuler"), XO("Scrub &Ruler"), wxT(""),
AlwaysEnabledFlag,
&Scrubber::OnToggleScrubRuler, true, &Scrubber::ShowsBar,
&Scrubber::OnToggleScrubRuler, false, &Scrubber::ShowsBar,
},
};