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

Draft: New toolbar layout #58

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 },
{ EditBarID, PlayMeterBarID, NoBarID },
Expand All @@ -552,7 +553,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 @@ -603,7 +603,6 @@ void ToolManager::Reset()
#ifdef EXPERIMENTAL_SPECTRAL_EDITING
|| ndx == SpectralSelectionBarID
#endif
|| ndx == TimeBarID
)
dock = mBotDock;
else
Expand Down Expand Up @@ -774,8 +773,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