From 4ec299779cfaa2ccc4327f5bb85998e8599418e8 Mon Sep 17 00:00:00 2001 From: Tim Mayberry Date: Mon, 21 Nov 2016 20:11:47 +1000 Subject: Reparent cursor used in Cut mode so that it is on top and visible --- gtk2_ardour/editor.h | 1 + gtk2_ardour/editor_drag.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index a6c6bdd2c9..beb3978c7f 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -2256,6 +2256,7 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD Gtkmm2ext::ActionMap myactions; friend class Drag; + friend class RegionCutDrag; friend class RegionDrag; friend class RegionMoveDrag; friend class RegionSpliceDrag; diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc index 4cba008f5f..8ba745d587 100644 --- a/gtk2_ardour/editor_drag.cc +++ b/gtk2_ardour/editor_drag.cc @@ -6518,6 +6518,7 @@ RegionCutDrag::RegionCutDrag (Editor* e, ArdourCanvas::Item* item, framepos_t po { line->set_position (pos); line->show (); + line->track_canvas_item().reparent (_editor->_drag_motion_group); } RegionCutDrag::~RegionCutDrag () -- cgit v1.2.3