12 lines
499 B
Plaintext
12 lines
499 B
Plaintext
--- gtk2_ardour/midi_region_view.cc
|
|
+++ gtk2_ardour/midi_region_view.cc
|
|
@@ -2516,7 +2516,7 @@ MidiRegionView::move_selection(double dx, double dy, double cumulative_dy)
|
|
{
|
|
typedef vector<boost::shared_ptr<NoteType> > PossibleChord;
|
|
PossibleChord to_play;
|
|
- Evoral::Beats earliest = Evoral::MaxBeats;
|
|
+ Evoral::Beats earliest = std::numeric_limits<Evoral::Beats>::max();
|
|
|
|
for (Selection::iterator i = _selection.begin(); i != _selection.end(); ++i) {
|
|
if ((*i)->note()->time() < earliest) {
|