mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
This commit is contained in:
parent
eddcb77941
commit
69501da32d
1 changed files with 1 additions and 1 deletions
|
|
@ -699,7 +699,7 @@ void MidiKeyboardComponent::resetAnyKeysInUse()
|
|||
|
||||
void MidiKeyboardComponent::updateNoteUnderMouse (int x, int y)
|
||||
{
|
||||
const int newNote = xyToNote (x, y);
|
||||
const int newNote = (mouseDragging || isMouseOver()) ? xyToNote (x, y) : -1;
|
||||
|
||||
if (noteUnderMouse != newNote)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue