diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2015-06-01 16:18:10 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2015-06-01 16:18:10 -0500 |
commit | 42915c19a494d049457df4a473ae436ccdffa847 (patch) | |
tree | d6e7758fc2a747e8b5548a1ad079d25ed410de70 /gtk2_ardour/editor_canvas.cc | |
parent | 0288454387b7b52e824dcf3bb258ef7f29743269 (diff) |
fix cursor in smart mode, when moving up and down the frame handles
Diffstat (limited to 'gtk2_ardour/editor_canvas.cc')
-rw-r--r-- | gtk2_ardour/editor_canvas.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_canvas.cc b/gtk2_ardour/editor_canvas.cc index c1929bd38b..66417923be 100644 --- a/gtk2_ardour/editor_canvas.cc +++ b/gtk2_ardour/editor_canvas.cc @@ -1256,12 +1256,16 @@ Editor::which_canvas_cursor(ItemType type) const cursor = _cursors->cross_hair; break; case LeftFrameHandle: - if ( effective_mouse_mode() == MouseObject ) // (smart mode): if the user is in the top half, override the trim cursor, since they are in the range zone - cursor = which_trim_cursor (true); //alternatively, one could argue that we _should_ allow trims here, and disallow range selection + if ( effective_mouse_mode() == MouseObject ) // (smart mode): if the user is in the btm half, show the trim cursor + cursor = which_trim_cursor (true); + else + cursor = _cursors->selector; // (smart mode): in the top half, just show the selection (range) cursor break; case RightFrameHandle: if ( effective_mouse_mode() == MouseObject ) //see above cursor = which_trim_cursor (false); + else + cursor = _cursors->selector; break; case StartCrossFadeItem: cursor = _cursors->fade_in; |