From ff109756fbb1fe616ccc9d26dd2f290b2a6ffcde Mon Sep 17 00:00:00 2001 From: Abhinav Natarajan Date: Fri, 11 Nov 2022 03:04:19 +0530 Subject: [PATCH] corrected angle knob not showing right click popup --- Source/PluginEditor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/PluginEditor.cpp b/Source/PluginEditor.cpp index a3a869e..5d8a322 100644 --- a/Source/PluginEditor.cpp +++ b/Source/PluginEditor.cpp @@ -66,7 +66,7 @@ XfeedAudioProcessorEditor::XfeedAudioProcessorEditor (XfeedAudioProcessor& p) angleKnob.setRotaryParameters(knobsMinAngle, knobsMaxAngle, true); angleKnob.setTextValueSuffix(juce::CharPointer_UTF8("\xc2\xb0")); // degree symbol angleKnob.setValue(p.defaultAngle); - gainKnob.setPopupMenuEnabled(true); + angleKnob.setPopupMenuEnabled(true); angleKnob.setPopupDisplayEnabled(false, false, this); angleKnob.setTextBoxStyle(juce::Slider::TextBoxBelow, false, 60, 25); angleKnob.setDoubleClickReturnValue(true, p.defaultAngle);