Skip to content

Commit

Permalink
fixed lookandfeel loading
Browse files Browse the repository at this point in the history
  • Loading branch information
astriiddev authored Mar 26, 2024
1 parent 086487e commit 00f7ae4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/PluginEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
SubdominantAudioProcessorEditor::SubdominantAudioProcessorEditor (SubdominantAudioProcessor& p)
: AudioProcessorEditor (&p), audioProcessor (p)
{
juce::LookAndFeel::setDefaultLookAndFeel(&newLookAndFeel);
setLookAndFeel(&newLookAndFeel);

setRepaintsOnMouseActivity(false);

Expand Down Expand Up @@ -57,7 +57,7 @@ SubdominantAudioProcessorEditor::SubdominantAudioProcessorEditor (SubdominantAud

SubdominantAudioProcessorEditor::~SubdominantAudioProcessorEditor()
{
juce::LookAndFeel::setDefaultLookAndFeel(nullptr);
setLookAndFeel(nullptr);
}

//==============================================================================
Expand Down

0 comments on commit 00f7ae4

Please # to comment.