mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-13 00:04:19 +00:00
Don't set Desktop singleton L&F in AUv3Synth plug-in example
This commit is contained in:
parent
6e5fa14065
commit
2b522403bd
1 changed files with 6 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ public:
|
|||
: AudioProcessorEditor (processorIn),
|
||||
roomSizeSlider (Slider::LinearHorizontal, Slider::NoTextBox)
|
||||
{
|
||||
LookAndFeel::setDefaultLookAndFeel (&materialLookAndFeel);
|
||||
setLookAndFeel (&materialLookAndFeel);
|
||||
|
||||
roomSizeSlider.setValue (getParameterValue ("roomSize"), NotificationType::dontSendNotification);
|
||||
|
||||
|
|
@ -213,6 +213,11 @@ public:
|
|||
startTimer (100);
|
||||
}
|
||||
|
||||
~AUv3SynthEditor() override
|
||||
{
|
||||
setLookAndFeel (nullptr);
|
||||
}
|
||||
|
||||
//==============================================================================
|
||||
void paint (Graphics& g) override
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue