fix cursor in smart mode, when moving up and down the frame handles
This commit is contained in:
parent
0288454387
commit
42915c19a4
@ -1256,12 +1256,16 @@ Editor::which_canvas_cursor(ItemType type) const
|
|||||||
cursor = _cursors->cross_hair;
|
cursor = _cursors->cross_hair;
|
||||||
break;
|
break;
|
||||||
case LeftFrameHandle:
|
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
|
if ( effective_mouse_mode() == MouseObject ) // (smart mode): if the user is in the btm half, show the trim cursor
|
||||||
cursor = which_trim_cursor (true); //alternatively, one could argue that we _should_ allow trims here, and disallow range selection
|
cursor = which_trim_cursor (true);
|
||||||
|
else
|
||||||
|
cursor = _cursors->selector; // (smart mode): in the top half, just show the selection (range) cursor
|
||||||
break;
|
break;
|
||||||
case RightFrameHandle:
|
case RightFrameHandle:
|
||||||
if ( effective_mouse_mode() == MouseObject ) //see above
|
if ( effective_mouse_mode() == MouseObject ) //see above
|
||||||
cursor = which_trim_cursor (false);
|
cursor = which_trim_cursor (false);
|
||||||
|
else
|
||||||
|
cursor = _cursors->selector;
|
||||||
break;
|
break;
|
||||||
case StartCrossFadeItem:
|
case StartCrossFadeItem:
|
||||||
cursor = _cursors->fade_in;
|
cursor = _cursors->fade_in;
|
||||||
|
Loading…
Reference in New Issue
Block a user