13
0

keep highlighted note in correct place when scrolling

This commit is contained in:
Paul Davis 2023-09-11 14:29:03 -06:00
parent 85375397ed
commit d064a2ead1

View File

@ -185,6 +185,8 @@ PianoRollHeader::on_scroll_event (GdkEventScroll* ev)
}
}
set_note_highlight (_view.y_to_note (ev->y));
_adj.value_changed ();
queue_draw ();
return true;