mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
keep highlighted note in correct place when scrolling
This commit is contained in:
parent
85375397ed
commit
d064a2ead1
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue