mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
the basics of lollipop dragging
This commit is contained in:
parent
2977205f3a
commit
cf7ba80fc1
12 changed files with 140 additions and 26 deletions
|
|
@ -221,8 +221,7 @@ MidiGhostRegion::GhostEvent::GhostEvent (NoteBase* e, ArdourCanvas::Container* g
|
|||
: event (e)
|
||||
{
|
||||
if (dynamic_cast<Note*>(e)) {
|
||||
item = new ArdourCanvas::Rectangle(
|
||||
g, ArdourCanvas::Rect(e->x0(), e->y0(), e->x1(), e->y1()));
|
||||
item = new ArdourCanvas::Rectangle (g, ArdourCanvas::Rect(e->x0(), e->y0(), e->x1(), e->y1()));
|
||||
is_hit = false;
|
||||
} else {
|
||||
Hit* hit = dynamic_cast<Hit*>(e);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue