commit b43ff136a7a5a1859489a120b79dce9e81e6dcd3
parent 6fbd41530ba79ef774738043269bf78db80d62b5
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date: Thu, 10 Mar 2022 20:00:06 +0100
fix LookAndFeel destroyed before controls using it were destroyed
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/source/jucePlugin/ui2/VirusEditor.h b/source/jucePlugin/ui2/VirusEditor.h
@@ -93,19 +93,19 @@ private:
VirusParameterBinding& m_parameterBinding;
AudioPluginAudioProcessor &processorRef;
+ VirusUI::LookAndFeel m_lookAndFeel;
+ VirusUI::LookAndFeelButtons m_landfButtons;
+ VirusUI::CustomLAF m_landfToolTip;
Virus::Controller& m_controller;
- std::unique_ptr<OscEditor> m_oscEditor;
+
+ std::unique_ptr<OscEditor> m_oscEditor;
std::unique_ptr<LfoEditor> m_lfoEditor;
std::unique_ptr<FxEditor> m_fxEditor;
std::unique_ptr<ArpEditor> m_arpEditor;
std::unique_ptr<PatchBrowser> m_patchBrowser;
std::unique_ptr<juce::Drawable> m_background;
- VirusUI::LookAndFeel m_lookAndFeel;
- VirusUI::LookAndFeelButtons m_landfButtons;
- VirusUI::CustomLAF m_landfToolTip;
-
juce::String m_previousPath;
bool m_paramDisplayLocal = false;