From b77f55ca82d40f7fbbcb00d5606f49efc1e2d905 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Mon, 9 Jun 2014 09:11:04 -0400 Subject: [PATCH] change height of canvas drop so last 20 pixels of bottom track is still visible when fully scrolled down --- gtk2_ardour/editor_canvas.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk2_ardour/editor_canvas.cc b/gtk2_ardour/editor_canvas.cc index 58940837ef..68c7662ec4 100644 --- a/gtk2_ardour/editor_canvas.cc +++ b/gtk2_ardour/editor_canvas.cc @@ -286,7 +286,7 @@ Editor::track_canvas_viewport_size_allocated () _visible_canvas_width = _canvas_viewport_allocation.get_width (); _visible_canvas_height = _canvas_viewport_allocation.get_height (); - _canvas_drop_zone->set_y1 (_canvas_drop_zone->y0() + _visible_canvas_height); + _canvas_drop_zone->set_y1 (_canvas_drop_zone->y0() + (_visible_canvas_height - 20.0)); // SHOWTRACKS