From 6b3f37333067b7a7de9e4bacde753cf65e1aa842 Mon Sep 17 00:00:00 2001 From: Avery King Date: Sun, 11 Sep 2022 11:00:29 -0700 Subject: [PATCH] Move time toolbar next to transport toolbar 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 --- src/toolbars/ToolManager.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/toolbars/ToolManager.cpp b/src/toolbars/ToolManager.cpp index 0fbf2dc85..1deb26fa6 100644 --- a/src/toolbars/ToolManager.cpp +++ b/src/toolbars/ToolManager.cpp @@ -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 }, @@ -553,7 +554,6 @@ static struct DefaultConfigEntry { // Bottom dock { SelectionBarID, NoBarID, NoBarID }, - { TimeBarID, SelectionBarID, NoBarID }, // Hidden by default in bottom dock { SpectralSelectionBarID, NoBarID, NoBarID }, @@ -604,7 +604,6 @@ void ToolManager::Reset() #ifdef EXPERIMENTAL_SPECTRAL_EDITING || ndx == SpectralSelectionBarID #endif - || ndx == TimeBarID ) dock = mBotDock; else @@ -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 ){