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

Commit d06b351

Browse files
author
Avery King
committed
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 <[email protected]>
1 parent 9c4047a commit d06b351

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/toolbars/ToolManager.cpp

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,8 @@ static struct DefaultConfigEntry {
531531
} DefaultConfigTable [] = {
532532
// Top dock row, may wrap
533533
{ TransportBarID, NoBarID, NoBarID },
534-
{ ToolsBarID, TransportBarID, NoBarID },
534+
{ TimeBarID, TransportBarID, NoBarID },
535+
{ ToolsBarID, TimeBarID, NoBarID },
535536
{ RecordMeterBarID, ToolsBarID, NoBarID },
536537
{ PlayMeterBarID, RecordMeterBarID, NoBarID },
537538
{ EditBarID, PlayMeterBarID, NoBarID },
@@ -552,7 +553,6 @@ static struct DefaultConfigEntry {
552553

553554
// Bottom dock
554555
{ SelectionBarID, NoBarID, NoBarID },
555-
{ TimeBarID, SelectionBarID, NoBarID },
556556

557557
// Hidden by default in bottom dock
558558
{ SpectralSelectionBarID, NoBarID, NoBarID },
@@ -603,7 +603,6 @@ void ToolManager::Reset()
603603
#ifdef EXPERIMENTAL_SPECTRAL_EDITING
604604
|| ndx == SpectralSelectionBarID
605605
#endif
606-
|| ndx == TimeBarID
607606
)
608607
dock = mBotDock;
609608
else
@@ -774,8 +773,6 @@ void ToolManager::ReadConfig()
774773
bShownByDefault = false;
775774
if( ndx == ScrubbingBarID )
776775
bShownByDefault = false;
777-
if( ndx == TimeBarID )
778-
defaultDock = BotDockID;
779776

780777
#ifdef EXPERIMENTAL_SPECTRAL_EDITING
781778
if( ndx == SpectralSelectionBarID ){

0 commit comments

Comments
 (0)