mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-13 06:37:52 +01:00
Improve repainting after a theme change.
Now most things repaint properly after a theme change. The sliders on the tracks don't yet.
This commit is contained in:
@@ -52,6 +52,7 @@ with changes in the SpectralSelectionBar.
|
||||
#include "SpectralSelectionBar.h"
|
||||
|
||||
#include "../Prefs.h"
|
||||
#include "../AllThemeResources.h"
|
||||
#include "../SelectedRegion.h"
|
||||
#include "../widgets/NumericTextCtrl.h"
|
||||
|
||||
@@ -106,6 +107,7 @@ void SpectralSelectionBar::Create(wxWindow * parent)
|
||||
|
||||
void SpectralSelectionBar::Populate()
|
||||
{
|
||||
SetBackgroundColour( theTheme.Colour( clrMedium ) );
|
||||
gPrefs->Read(preferencePath, &mbCenterAndWidth, true);
|
||||
|
||||
// This will be inherited by all children:
|
||||
|
||||
Reference in New Issue
Block a user