diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-18 15:14:48 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-04-18 15:14:48 -0400 |
commit | ddd21c110c5d8f6e1214e85f75f8f26157d4bfa2 (patch) | |
tree | 44ee8c108d2f77dd2d5c9a4c4764583811d4485e /gtk2_ardour/editor_drag.cc | |
parent | 55d7e8da19463bb0317026677d324e91568010b1 (diff) |
fix various event coordinate system problems with button events on the rulers
Diffstat (limited to 'gtk2_ardour/editor_drag.cc')
-rw-r--r-- | gtk2_ardour/editor_drag.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 36d85673b0..35a7e930ef 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -2389,6 +2389,7 @@ CursorDrag::start_grab (GdkEvent* event, Gdk::Cursor* c) _grab_zoom = _editor->samples_per_pixel; framepos_t where = _editor->canvas_event_frame (event, 0, 0); + _editor->snap_to_with_modifier (where, event); _editor->_dragging_playhead = true; |