mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
Reinstate mouse scroll actions (audio clocks, shuttle wheel, faders), clearing selection is undoable, fix compiler warning, add modified patch by Jon Michael Smith for mouse wheel track height adjustment and vertical canvas scrolling (thanks Jon)
git-svn-id: svn://localhost/trunk/ardour2@449 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e9f9ca5278
commit
7e8a982245
11 changed files with 189 additions and 55 deletions
|
|
@ -966,7 +966,7 @@ Editor::control_scroll (float fraction)
|
|||
} else if ((fraction > 0.0f) && (max_frames - session->transport_frame() < step)) {
|
||||
target = (max_frames - (current_page_frames()*2)); // allow room for slop in where the PH is on the screen
|
||||
} else {
|
||||
target = (session->transport_frame() + (fraction * current_page_frames()));
|
||||
target = (session->transport_frame() + (jack_nframes_t)(fraction * current_page_frames()));
|
||||
}
|
||||
|
||||
/* move visuals, we'll catch up with it later */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue