Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
Move time toolbar next to transport toolbar
Browse files Browse the repository at this point in the history
Saucedacity's default settings now place the time toolbar next to the
transport toolbar. This isn't a big change in itself, but it could mean
the start of a toolbar rearrangement.

Signed-off-by: Avery King <[email protected]>
  • Loading branch information
generic-pers0n committed Sep 17, 2022
1 parent fd23bcb commit 6b3f373
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/toolbars/ToolManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,8 @@ static struct DefaultConfigEntry {
} DefaultConfigTable [] = {
// Top dock row, may wrap
{ TransportBarID, NoBarID, NoBarID },
{ ToolsBarID, TransportBarID, NoBarID },
{ TimeBarID, TransportBarID, NoBarID },
{ ToolsBarID, TimeBarID, NoBarID },
{ RecordMeterBarID, ToolsBarID, NoBarID },
{ PlayMeterBarID, RecordMeterBarID, NoBarID },
{ MixerBarID, PlayMeterBarID, NoBarID },
Expand All @@ -553,7 +554,6 @@ static struct DefaultConfigEntry {

// Bottom dock
{ SelectionBarID, NoBarID, NoBarID },
{ TimeBarID, SelectionBarID, NoBarID },

// Hidden by default in bottom dock
{ SpectralSelectionBarID, NoBarID, NoBarID },
Expand Down Expand Up @@ -604,7 +604,6 @@ void ToolManager::Reset()
#ifdef EXPERIMENTAL_SPECTRAL_EDITING
|| ndx == SpectralSelectionBarID
#endif
|| ndx == TimeBarID
)
dock = mBotDock;
else
Expand Down Expand Up @@ -775,8 +774,6 @@ void ToolManager::ReadConfig()
bShownByDefault = false;
if( ndx == ScrubbingBarID )
bShownByDefault = false;
if( ndx == TimeBarID )
defaultDock = BotDockID;

#ifdef EXPERIMENTAL_SPECTRAL_EDITING
if( ndx == SpectralSelectionBarID ){
Expand Down

0 comments on commit 6b3f373

Please sign in to comment.