mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Plugin demo: avoided the slider jumping when being dragged and automated at the same time
This commit is contained in:
parent
86a745dc35
commit
7988190e73
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ public:
|
|||
{
|
||||
const float newValue = param.getValue();
|
||||
|
||||
if (newValue != (float) Slider::getValue())
|
||||
if (newValue != (float) Slider::getValue() && ! isMouseButtonDown())
|
||||
Slider::setValue (newValue);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue