From 97109672c784f9b78617ed9bef72c046a55aa25c Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 18 May 2014 12:22:23 -0400 Subject: initial redesign of canvas scrolling to facilitate independent x- and y-axis scrolling of specific groups within the canvas. This commit should cause no change in behaviour, but contains all the code and changes necessary for the next step --- gtk2_ardour/tempo_lines.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk2_ardour/tempo_lines.cc') diff --git a/gtk2_ardour/tempo_lines.cc b/gtk2_ardour/tempo_lines.cc index 828a4cc82b..917e141313 100644 --- a/gtk2_ardour/tempo_lines.cc +++ b/gtk2_ardour/tempo_lines.cc @@ -65,7 +65,7 @@ TempoLines::draw (const ARDOUR::TempoMap::BBTPointList::const_iterator& begin, const ARDOUR::TempoMap::BBTPointList::const_iterator& end) { ARDOUR::TempoMap::BBTPointList::const_iterator i; - ArdourCanvas::Rect const visible = _canvas.visible_area (); + ArdourCanvas::Rect const visible = _group->window_to_item (_canvas.visible_area ()); double beat_density; uint32_t beats = 0; -- cgit v1.2.3