mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 00:34:59 +01:00
new trim cursors from chrisg, fix up hotspots for said cursors, make Editor cursors public; note draw mode now trims existing notes (but without trim cursor :(
git-svn-id: svn://localhost/ardour2/branches/3.0@7270 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ac9589ff2c
commit
fe85a922ec
7 changed files with 36 additions and 26 deletions
|
|
@ -663,6 +663,13 @@ Editor::button_press_handler_1 (ArdourCanvas::Item* item, GdkEvent* event, ItemT
|
|||
}
|
||||
break;
|
||||
|
||||
case NoteItem:
|
||||
if (internal_editing()) {
|
||||
/* trim notes if we're in internal edit mode and near the ends of the note */
|
||||
_drags->set (new NoteResizeDrag (this, item), event);
|
||||
}
|
||||
return true;
|
||||
|
||||
case StreamItem:
|
||||
if (internal_editing()) {
|
||||
_drags->set (new RegionCreateDrag (this, item, clicked_axisview), event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue