show selection trim cursors in Range mode
authorBen Loftis <ben@harrisonconsoles.com>
Sun, 28 Jun 2015 05:52:49 +0000 (00:52 -0500)
committerBen Loftis <ben@harrisonconsoles.com>
Sun, 28 Jun 2015 05:52:49 +0000 (00:52 -0500)
gtk2_ardour/editor_canvas.cc

index 66417923be493c273c81c60d0f66b978ee70d1ee..8e2f78fb93246fab8b7d80ae12b2a257d839159e 100644 (file)
@@ -1188,6 +1188,19 @@ Editor::which_canvas_cursor(ItemType type) const
 {
        Gdk::Cursor* cursor = which_mode_cursor ();
 
+       if (mouse_mode == MouseRange) {
+               switch (type) {
+               case StartSelectionTrimItem:
+                       cursor = _cursors->left_side_trim;
+                       break;
+               case EndSelectionTrimItem:
+                       cursor = _cursors->right_side_trim;
+                       break;
+               default:
+                       break;
+               }
+       }
+       
        if ((mouse_mode == MouseObject || get_smart_mode ()) ||
            mouse_mode == MouseContent) {