@@ -7,7 +7,11 @@ PluginEditor::PluginEditor(PluginProcessor& p)
77 lfoVisualizer{
88 [&p](juce::AudioBuffer<float >& b) { p.readAllLfoSamples (b); },
99 [&p] { return p.getSampleRateThreadSafe (); },
10- [&p] { return p.getParameterRefs ().bypassed .get (); }} {
10+ [&p] { return p.getParameterRefs ().bypassed .get (); }},
11+ about{*this , logo,
12+ JucePlugin_Manufacturer " \n " JucePlugin_Name " \n " __DATE__
13+ " \n " __TIME__
14+ " \n v" JucePlugin_VersionString} {
1115 background.setImage (juce::ImageCache::getFromMemory (
1216 assets::Background_png, assets::Background_pngSize));
1317 addAndMakeVisible (background);
@@ -59,8 +63,6 @@ PluginEditor::PluginEditor(PluginProcessor& p)
5963 lfoVisualizer.setBackgroundColor (juce::Colours::transparentBlack);
6064 addAndMakeVisible (lfoVisualizer);
6165
62- addAndMakeVisible (about);
63-
6466 setLookAndFeel (&lookAndFeel);
6567
6668 // Make sure that before the constructor has finished, you've set the
@@ -123,9 +125,5 @@ void PluginEditor::resized() {
123125 bypassLabelBounds.removeFromLeft (396 );
124126
125127 bypassLabel.setBounds (bypassLabelBounds);
126-
127- constexpr auto aboutSize = 20 ;
128- about.setBounds (
129- getLocalBounds ().removeFromRight (aboutSize).removeFromTop (aboutSize));
130128}
131129} // namespace tremolo
0 commit comments