mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
mostly fix region- and note-create drags
This commit is contained in:
parent
b757756e92
commit
dee71c0a97
4 changed files with 85 additions and 68 deletions
|
|
@ -260,8 +260,8 @@ public:
|
|||
MouseState mouse_state() const { return _mouse_state; }
|
||||
|
||||
struct NoteResizeData {
|
||||
Note *note;
|
||||
ArdourCanvas::Rectangle *resize_rect;
|
||||
::Note *note;
|
||||
ArdourCanvas::Rectangle *resize_rect;
|
||||
};
|
||||
|
||||
/** Snap a region relative pixel coordinate to pixel units.
|
||||
|
|
@ -312,7 +312,7 @@ public:
|
|||
* \param state the keyboard modifier mask for the canvas event (click).
|
||||
* \param shift_snap true alters snap behavior to round down always (false if the gui has already done that).
|
||||
*/
|
||||
void create_note_at (samplepos_t t, double y, Temporal::Beats length, uint32_t state, bool shift_snap);
|
||||
void create_note_at (Temporal::timepos_t const & t, double y, Temporal::Beats length, uint32_t state, bool shift_snap);
|
||||
|
||||
/** An external request to clear the note selection, remove MRV from editor
|
||||
* selection.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue