From 42915c19a494d049457df4a473ae436ccdffa847 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Mon, 1 Jun 2015 16:18:10 -0500 Subject: [PATCH] fix cursor in smart mode, when moving up and down the frame handles --- gtk2_ardour/editor_canvas.cc | 8 ++++++-- 1 file 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;