NO-OP: whitespace
This commit is contained in:
parent
1d28665f86
commit
d88da33949
@ -4234,11 +4234,13 @@ struct AutomationRecord {
|
||||
const AutomationLine* line; ///< line this came from
|
||||
boost::shared_ptr<Evoral::ControlList> copy; ///< copied events for the cut buffer
|
||||
};
|
||||
|
||||
struct PointsSelectionPositionSorter {
|
||||
bool operator() (ControlPoint* a, ControlPoint* b) {
|
||||
return (*(a->model()))->when < (*(b->model()))->when;
|
||||
}
|
||||
};
|
||||
|
||||
/** Cut, copy or clear selected automation points.
|
||||
* @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;
|
||||
if (!selection->tracks.empty()) {
|
||||
/* If there is a track selection, paste into exactly those tracks and
|
||||
only those tracks. This allows the user to be explicit and override
|
||||
the below "do the reasonable thing" logic. */
|
||||
* only those tracks. This allows the user to be explicit and override
|
||||
* the below "do the reasonable thing" logic. */
|
||||
ts = selection->tracks.filter_to_unique_playlists ();
|
||||
sort_track_selection (ts);
|
||||
} else {
|
||||
@ -7812,7 +7814,7 @@ Editor::fit_selection ()
|
||||
}
|
||||
} else if (internal_editing()) {
|
||||
/* 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) {
|
||||
tvl.push_back (entered_track);
|
||||
@ -7820,7 +7822,6 @@ Editor::fit_selection ()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void
|
||||
@ -7844,10 +7845,10 @@ Editor::fit_tracks (TrackViewList & tracks)
|
||||
}
|
||||
|
||||
/* compute the per-track height from:
|
||||
|
||||
total canvas visible height -
|
||||
height that will be taken by visible children of selected
|
||||
tracks - height of the ruler/hscroll area
|
||||
*
|
||||
* total canvas visible height
|
||||
* - height that will be taken by visible children of selected tracks
|
||||
* - height of the ruler/hscroll area
|
||||
*/
|
||||
uint32_t h = (uint32_t) floor ((trackviews_height() - child_heights) / visible_tracks);
|
||||
double first_y_pos = DBL_MAX;
|
||||
|
Loading…
Reference in New Issue
Block a user