summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_canvas.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-06-09 09:11:04 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-06-09 09:12:42 -0400
commit95f2b4ba17949ef5d70bc973665e1b9c29f38e4d (patch)
tree8a22a2f82e0db6cdde5da1c1938555b9e9803557 /gtk2_ardour/editor_canvas.cc
parentb530e8649e8edcea7373275ebcb871042160d8e3 (diff)
change height of canvas drop so last 20 pixels of bottom track is still visible when fully scrolled down
Diffstat (limited to 'gtk2_ardour/editor_canvas.cc')
-rw-r--r--gtk2_ardour/editor_canvas.cc2
1 files changed, 1 insertions, 1 deletions
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