Show cursor in Cut mode on button press at cutting position
Previously it would be shown at the mouse cursor position even though the Region is cut/split at the snap/quantize point if no motion occurred.
This commit is contained in:
parent
4ec299779c
commit
d4190d3761
|
@ -6526,6 +6526,13 @@ RegionCutDrag::~RegionCutDrag ()
|
|||
delete line;
|
||||
}
|
||||
|
||||
void
|
||||
RegionCutDrag::start_grab (GdkEvent* event, Gdk::Cursor* c)
|
||||
{
|
||||
Drag::start_grab (event, c);
|
||||
motion (event, false);
|
||||
}
|
||||
|
||||
void
|
||||
RegionCutDrag::motion (GdkEvent*, bool)
|
||||
{
|
||||
|
|
|
@ -502,6 +502,7 @@ class RegionCutDrag : public Drag
|
|||
RegionCutDrag (Editor*, ArdourCanvas::Item*, framepos_t);
|
||||
~RegionCutDrag ();
|
||||
|
||||
void start_grab (GdkEvent *, Gdk::Cursor* c = 0);
|
||||
void motion (GdkEvent*, bool);
|
||||
void finished (GdkEvent*, bool);
|
||||
void aborted (bool);
|
||||
|
|
Loading…
Reference in New Issue