mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
Restore snap setting in eterMarkerDrag::aborted()/
This commit is contained in:
parent
4aea1285c9
commit
9506fd884d
1 changed files with 2 additions and 0 deletions
|
|
@ -3231,6 +3231,8 @@ MeterMarkerDrag::aborted (bool moved)
|
|||
{
|
||||
_marker->set_position (_marker->meter().frame ());
|
||||
if (moved) {
|
||||
/* reinstate old snap setting */
|
||||
_editor->set_snap_to (_old_snap_type);
|
||||
_editor->session()->tempo_map().set_state (*before_state, Stateful::current_state_version);
|
||||
// delete the dummy marker we used for visual representation while moving.
|
||||
// a new visual marker will show up automatically.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue