summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_tempodisplay.cc
diff options
context:
space:
mode:
authorSampo Savolainen <v2@iki.fi>2006-10-09 18:08:08 +0000
committerSampo Savolainen <v2@iki.fi>2006-10-09 18:08:08 +0000
commitaf757a1b6abaea867445ba8783676d71c30d47a1 (patch)
treeb74463b824d00d11bea0beb79c2ed6a5492f0444 /gtk2_ardour/editor_tempodisplay.cc
parent048526fde8a69e90dfe50b3116adfcd02678bace (diff)
Give a different error message when AudioEngine::connect() tries to make
an connection which already exists. Tempo bars will now stretch from top to bottom via a hackish but approved scheme. Disconnect route inputs and outputs when removing them from the session. git-svn-id: svn://localhost/ardour2/trunk@961 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_tempodisplay.cc')
-rw-r--r--gtk2_ardour/editor_tempodisplay.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_tempodisplay.cc b/gtk2_ardour/editor_tempodisplay.cc
index 270ea38b2e..177f82bd44 100644
--- a/gtk2_ardour/editor_tempodisplay.cc
+++ b/gtk2_ardour/editor_tempodisplay.cc
@@ -44,6 +44,7 @@
#include "rgb_macros.h"
#include "gui_thread.h"
#include "color.h"
+#include "time_axis_view.h"
#include "i18n.h"
@@ -200,6 +201,7 @@ Editor::draw_measures ()
}
track_canvas.get_scroll_region (x1, y1, x2, y2);
+ y2 = TimeAxisView::hLargest*5000; // five thousand largest tracks should be enough.. :)
/* get the first bar spacing */