mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 08:36:32 +01:00
zoom-to-selection should clear the selection, afterwards.
This commit is contained in:
parent
dade19310d
commit
aab02cac3d
1 changed files with 4 additions and 0 deletions
|
|
@ -1977,6 +1977,10 @@ Editor::temporal_zoom_selection (Editing::ZoomAxis axes)
|
||||||
if (axes == Vertical || axes == Both) {
|
if (axes == Vertical || axes == Both) {
|
||||||
fit_selection ();
|
fit_selection ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//normally, we don't do anything "automatic" to the user's selection.
|
||||||
|
//but in this case, we will clear the selection after a zoom-to-selection.
|
||||||
|
selection->clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue