mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-03 03:30:06 +00:00
This commit is contained in:
parent
69501da32d
commit
24cd229ec7
2 changed files with 4 additions and 1 deletions
|
|
@ -131,6 +131,7 @@ void AudioProcessor::beginParameterChangeGesture (int parameterIndex)
|
|||
// This means you've called beginParameterChangeGesture twice in succession without a matching
|
||||
// call to endParameterChangeGesture. That might be fine in most hosts, but better to avoid doing it.
|
||||
jassert (! changingParams [parameterIndex]);
|
||||
changingParams.setBit (parameterIndex);
|
||||
#endif
|
||||
|
||||
for (int i = listeners.size(); --i >= 0;)
|
||||
|
|
@ -153,6 +154,7 @@ void AudioProcessor::endParameterChangeGesture (int parameterIndex)
|
|||
// endParameterChangeGesture. That might be fine in most hosts, but better to keep the
|
||||
// calls matched correctly.
|
||||
jassert (changingParams [parameterIndex]);
|
||||
changingParams.clearBit (parameterIndex);
|
||||
#endif
|
||||
|
||||
for (int i = listeners.size(); --i >= 0;)
|
||||
|
|
|
|||
|
|
@ -699,7 +699,8 @@ void MidiKeyboardComponent::resetAnyKeysInUse()
|
|||
|
||||
void MidiKeyboardComponent::updateNoteUnderMouse (int x, int y)
|
||||
{
|
||||
const int newNote = (mouseDragging || isMouseOver()) ? xyToNote (x, y) : -1;
|
||||
const int newNote = (mouseDragging || isMouseOver())
|
||||
? xyToNote (x, y) : -1;
|
||||
|
||||
if (noteUnderMouse != newNote)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue