13
0

explanatory comment

This commit is contained in:
Paul Davis 2014-06-18 21:03:11 -04:00
parent 8419248a94
commit 76a3a94536

View File

@ -991,6 +991,15 @@ Editor::time_selection_changed ()
return;
}
/* XXX this is superficially inefficient. Hide the selection in all
* tracks, then show it in all selected tracks.
*
* However, if you investigate what this actually does, it isn't
* anywhere nearly as bad as it may appear. Remember: nothing is
* redrawn or even recomputed during these two loops - that only
* happens when we next render ...
*/
for (TrackViewList::iterator i = track_views.begin(); i != track_views.end(); ++i) {
(*i)->hide_selection ();
}