summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2011-12-21 14:21:05 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2011-12-21 14:21:05 +0000
commit5d509146c815bee46e8d1ede78c7e4445f346db8 (patch)
tree9f3e47fad1787035e2989a14bd434ecebca6d00a /libs
parentc0f435d36ac51a59448e4226aa618969a8037fde (diff)
followup to the previous tempo-dragging commit: use argument to Drag::aborted() to know if we moved; update the frame position of tempo map metrics when we remove a tempo mark (should fix visual glitches when dragging tempo)
git-svn-id: svn://localhost/ardour2/branches/3.0@11049 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/tempo.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/ardour/tempo.cc b/libs/ardour/tempo.cc
index a8f5bdf7ae..05a96c8dd8 100644
--- a/libs/ardour/tempo.cc
+++ b/libs/ardour/tempo.cc
@@ -345,6 +345,7 @@ TempoMap::remove_tempo (const TempoSection& tempo)
}
if (removed) {
+ timestamp_metrics (true);
PropertyChanged (PropertyChange ());
}
}