summaryrefslogtreecommitdiff
path: root/gtk2_ardour
diff options
context:
space:
mode:
authornick_m <mainsbridge@gmail.com>2016-05-02 06:12:33 +1000
committernick_m <mainsbridge@gmail.com>2016-05-27 23:38:16 +1000
commit3c76fa9dd1887603f28e57bed5883a4814a6d782 (patch)
treec832fd468b3ae9b3f7db45b9a2878a4c5a658c01 /gtk2_ardour
parent6f3ac9d6264b57884365a83f12e1a57487ed33d4 (diff)
Tempo ramps - fix various tempo dragging issues.
Diffstat (limited to 'gtk2_ardour')
-rw-r--r--gtk2_ardour/editor_drag.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_drag.cc b/gtk2_ardour/editor_drag.cc
index d3f7a3c4bd..fe67b71dd2 100644
--- a/gtk2_ardour/editor_drag.cc
+++ b/gtk2_ardour/editor_drag.cc
@@ -3206,7 +3206,6 @@ MeterMarkerDrag::motion (GdkEvent* event, bool first_move)
_editor->session()->tempo_map().gui_dilate_tempo (_real_section, pf);
} else if (bbt.bars > _real_section->bbt().bars) {
const double pulse = _real_section->pulse() + (prev_m.note_divisor() / prev_m.divisions_per_bar());
- //const double pulse = _real_section->pulse() + (_real_section->note_divisor() / _real_section->divisions_per_bar());
_editor->session()->tempo_map().gui_move_meter (_real_section, pulse);
} else if (bbt.bars < _real_section->bbt().bars) {
const double pulse = _real_section->pulse() - (prev_m.note_divisor() / prev_m.divisions_per_bar());