mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-09 16:24:57 +01:00
call Canvas::re_enter() at the end of a RegionCutDrag so that entered_regionview *might* be set
This commit is contained in:
parent
05bca82117
commit
d99b6f0662
1 changed files with 4 additions and 1 deletions
|
|
@ -40,6 +40,7 @@
|
|||
#include "ardour/region_factory.h"
|
||||
#include "ardour/session.h"
|
||||
|
||||
#include "canvas/canvas.h"
|
||||
#include "canvas/scroll_group.h"
|
||||
|
||||
#include "editor.h"
|
||||
|
|
@ -5474,8 +5475,10 @@ RegionCutDrag::motion (GdkEvent*, bool)
|
|||
void
|
||||
RegionCutDrag::finished (GdkEvent*, bool)
|
||||
{
|
||||
framepos_t pos = _drags->current_pointer_frame();
|
||||
_editor->get_track_canvas()->canvas()->re_enter();
|
||||
|
||||
framepos_t pos = _drags->current_pointer_frame();
|
||||
|
||||
line->hide ();
|
||||
|
||||
RegionSelection rs = _editor->get_regions_from_selection_and_mouse (pos);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue