mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
fixes so that cursor changes inside a MidiRegionView work as intended
They already worked in the PianorollMidiView, because that hands off enter/leave events to the parent EditingContext (a Pianoroll). But MidiRegionView and Editor were not interacting in the same way, so leaving a note object would not cause the Editor to do the right thing with the cursor.
This commit is contained in:
parent
52996e7a8d
commit
8d7b4f7991
5 changed files with 26 additions and 3 deletions
|
|
@ -275,7 +275,7 @@ class EditingContext : public ARDOUR::SessionHandlePtr, public AxisViewProvider,
|
|||
virtual bool canvas_control_point_event (GdkEvent* event, ArdourCanvas::Item*, ControlPoint*) = 0;
|
||||
virtual bool canvas_cue_start_event (GdkEvent* event, ArdourCanvas::Item*) { return true; }
|
||||
virtual bool canvas_cue_end_event (GdkEvent* event, ArdourCanvas::Item*) { return true; }
|
||||
virtual bool canvas_bg_event (GdkEvent* event, ArdourCanvas::Item*) { return true; }
|
||||
virtual bool canvas_bg_event (GdkEvent* event, ArdourCanvas::Item*) = 0;
|
||||
|
||||
Temporal::Beats get_grid_type_as_beats (bool& success, Temporal::timepos_t const & position) const;
|
||||
Temporal::Beats get_draw_length_as_beats (bool& success, Temporal::timepos_t const & position) const;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue