From 603748d68af1009fac47b284bf6f8815745586c7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 7 Dec 2014 19:53:46 -0500 Subject: Unify gain and draw tools. There might be a few special cases lingering around from attempts at magic tool business, but this seems to work fine as far as I can tell. --- gtk2_ardour/editor_canvas.cc | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'gtk2_ardour/editor_canvas.cc') diff --git a/gtk2_ardour/editor_canvas.cc b/gtk2_ardour/editor_canvas.cc index b1e733529e..c27c0d833a 100644 --- a/gtk2_ardour/editor_canvas.cc +++ b/gtk2_ardour/editor_canvas.cc @@ -1113,10 +1113,6 @@ Editor::which_mode_cursor () const mode_cursor = _cursors->midi_pencil; break; - case MouseGain: - mode_cursor = _cursors->cross_hair; - break; - case MouseTimeFX: mode_cursor = _cursors->time_fx; // just use playhead break; @@ -1300,12 +1296,12 @@ Editor::choose_canvas_cursor_on_entry (GdkEventCrossing* /*event*/, ItemType typ break; } - } else if (mouse_mode == MouseGain) { + } else if (mouse_mode == MouseDraw) { /* ControlPointItem is not really specific to region gain mode but it is the same cursor so don't worry about this for now. The result is that we'll see the fader cursor if we enter - non-region-gain-line control points while in MouseGain + non-region-gain-line control points while in MouseDraw mode, even though we can't edit them in this mode. */ -- cgit v1.2.3