mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
Snap cursor for section_rect ctx menu, just like popup_ruler_menu
This commit is contained in:
parent
8da5d49e54
commit
cc0c00f807
1 changed files with 1 additions and 0 deletions
|
|
@ -1174,6 +1174,7 @@ Editor::section_rect_event (GdkEvent* ev, Location* loc, ArdourCanvas::Rectangle
|
|||
assert (l);
|
||||
|
||||
timepos_t where (canvas_event_time (ev));
|
||||
snap_to (where, Temporal::RoundNearest);
|
||||
|
||||
section_box_menu.set_name ("ArdourContextMenu");
|
||||
MenuList& items (section_box_menu.items());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue