mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
redesign drag API to provide a bounding item, not just "trackview only"
This allows rubberband drags on both the main editor and the separate piano roll to wokr correctly.
This commit is contained in:
parent
3422ef5c3d
commit
96ccb96b3b
7 changed files with 59 additions and 61 deletions
|
|
@ -226,7 +226,7 @@ MidiCueEditor::build_canvas ()
|
|||
CANVAS_DEBUG_NAME (time_line_group, "cue time line group");
|
||||
|
||||
// used as rubberband rect
|
||||
rubberband_rect = new ArdourCanvas::Rectangle (hv_scroll_group, ArdourCanvas::Rect (0.0, 0.0, 0.0, 0.0));
|
||||
rubberband_rect = new ArdourCanvas::Rectangle (no_scroll_group, ArdourCanvas::Rect (0.0, 0.0, 0.0, 0.0));
|
||||
rubberband_rect->hide();
|
||||
rubberband_rect->set_outline_color (UIConfiguration::instance().color ("rubber band rect"));
|
||||
rubberband_rect->set_fill_color (UIConfiguration::instance().color_mod ("rubber band rect", "selection rect"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue