mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-06 13:45:43 +01:00
[Summary] Removed redundant method, fixed issue with selection range zoom
This commit is contained in:
parent
83869cb12d
commit
f5622bc91f
3 changed files with 2 additions and 13 deletions
|
|
@ -4347,8 +4347,8 @@ Editor::set_samples_per_pixel (framecnt_t spp)
|
|||
bool const showing_time_selection = selection->time.length() > 0;
|
||||
|
||||
if (showing_time_selection && selection->time.start () != selection->time.end_frame ()) {
|
||||
for (TrackViewList::iterator i = selection->tracks.begin(); i != selection->tracks.end(); ++i) {
|
||||
(*i)->reshow_selection (selection->time);
|
||||
for (TrackViewList::iterator i = selection->time.tracks_in_range.begin(); i != selection->time.tracks_in_range.end(); ++i) {
|
||||
(*i)->show_selection (selection->time);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue