summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_canvas.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-12-07 19:53:46 -0500
committerDavid Robillard <d@drobilla.net>2014-12-07 20:37:46 -0500
commit603748d68af1009fac47b284bf6f8815745586c7 (patch)
tree25c24d8307841c09112585f0de46bf722d53863a /gtk2_ardour/editor_canvas.cc
parentbbdad822cd7c1b8aec6d2785f7eb71d2ff988617 (diff)
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.
Diffstat (limited to 'gtk2_ardour/editor_canvas.cc')
-rw-r--r--gtk2_ardour/editor_canvas.cc8
1 files changed, 2 insertions, 6 deletions
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.
*/