13
0

NO-OP: whitespace

This commit is contained in:
Robin Gareus 2017-06-17 02:40:46 +02:00
parent 1d28665f86
commit d88da33949

View File

@ -4234,11 +4234,13 @@ struct AutomationRecord {
const AutomationLine* line; ///< line this came from const AutomationLine* line; ///< line this came from
boost::shared_ptr<Evoral::ControlList> copy; ///< copied events for the cut buffer boost::shared_ptr<Evoral::ControlList> copy; ///< copied events for the cut buffer
}; };
struct PointsSelectionPositionSorter { struct PointsSelectionPositionSorter {
bool operator() (ControlPoint* a, ControlPoint* b) { bool operator() (ControlPoint* a, ControlPoint* b) {
return (*(a->model()))->when < (*(b->model()))->when; return (*(a->model()))->when < (*(b->model()))->when;
} }
}; };
/** Cut, copy or clear selected automation points. /** Cut, copy or clear selected automation points.
* @param op Operation (Cut, Copy or Clear) * @param op Operation (Cut, Copy or Clear)
*/ */
@ -4756,8 +4758,8 @@ Editor::paste_internal (framepos_t position, float times, const int32_t sub_num)
TrackViewList ts; TrackViewList ts;
if (!selection->tracks.empty()) { if (!selection->tracks.empty()) {
/* If there is a track selection, paste into exactly those tracks and /* If there is a track selection, paste into exactly those tracks and
only those tracks. This allows the user to be explicit and override * only those tracks. This allows the user to be explicit and override
the below "do the reasonable thing" logic. */ * the below "do the reasonable thing" logic. */
ts = selection->tracks.filter_to_unique_playlists (); ts = selection->tracks.filter_to_unique_playlists ();
sort_track_selection (ts); sort_track_selection (ts);
} else { } else {
@ -7812,7 +7814,7 @@ Editor::fit_selection ()
} }
} else if (internal_editing()) { } else if (internal_editing()) {
/* no selected tracks, or regions, but in internal edit mode, so follow the mouse and use /* no selected tracks, or regions, but in internal edit mode, so follow the mouse and use
the entered track * the entered track
*/ */
if (entered_track) { if (entered_track) {
tvl.push_back (entered_track); tvl.push_back (entered_track);
@ -7820,7 +7822,6 @@ Editor::fit_selection ()
} }
} }
} }
} }
void void
@ -7844,10 +7845,10 @@ Editor::fit_tracks (TrackViewList & tracks)
} }
/* compute the per-track height from: /* compute the per-track height from:
*
total canvas visible height - * total canvas visible height
height that will be taken by visible children of selected * - height that will be taken by visible children of selected tracks
tracks - height of the ruler/hscroll area * - height of the ruler/hscroll area
*/ */
uint32_t h = (uint32_t) floor ((trackviews_height() - child_heights) / visible_tracks); uint32_t h = (uint32_t) floor ((trackviews_height() - child_heights) / visible_tracks);
double first_y_pos = DBL_MAX; double first_y_pos = DBL_MAX;