mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-19 01:04:20 +00:00
Made MidiKeyboardComponent work better when attached as a mouse listener to child components.
This commit is contained in:
parent
9bb0be09a6
commit
179d99f57d
1 changed files with 1 additions and 1 deletions
|
|
@ -680,7 +680,7 @@ void MidiKeyboardComponent::resetAnyKeysInUse()
|
|||
|
||||
void MidiKeyboardComponent::updateNoteUnderMouse (const MouseEvent& e, bool isDown)
|
||||
{
|
||||
updateNoteUnderMouse (e.getPosition(), isDown, e.source.getIndex());
|
||||
updateNoteUnderMouse (e.getEventRelativeTo (this).getPosition(), isDown, e.source.getIndex());
|
||||
}
|
||||
|
||||
void MidiKeyboardComponent::updateNoteUnderMouse (Point<int> pos, bool isDown, int fingerNum)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue