diff options
author | Nick Mainsbridge <beatroute@iprimus.com.au> | 2008-10-10 21:38:38 +0000 |
---|---|---|
committer | Nick Mainsbridge <beatroute@iprimus.com.au> | 2008-10-10 21:38:38 +0000 |
commit | ff52fa56022aed33d8cc80511c2f5a5f4317d200 (patch) | |
tree | efa70cbea57de1fa8ce53de885b951230ea91017 /gtk2_ardour/editor_route_list.cc | |
parent | 7ac8c745ed09a6257f06202d746d37fe333954c0 (diff) |
Don't set colours twice in new TimeAxisViewItems (from 3.0), fix the nostar ruler hiding bug, rejig ruler bars again, this time making them physical_screen_width wide and never moving them - preventing artefacts while hiding.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3910 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_route_list.cc')
-rw-r--r-- | gtk2_ardour/editor_route_list.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/editor_route_list.cc b/gtk2_ardour/editor_route_list.cc index 4113655320..2055091953 100644 --- a/gtk2_ardour/editor_route_list.cc +++ b/gtk2_ardour/editor_route_list.cc @@ -314,15 +314,14 @@ Editor::redisplay_route_list () ++n; } - full_canvas_height = position; - - vertical_adjustment.set_upper (position + canvas_timebars_vsize); + full_canvas_height = position + canvas_timebars_vsize; + vertical_adjustment.set_upper (full_canvas_height); if ((vertical_adjustment.get_value() + canvas_height) > vertical_adjustment.get_upper()) { /* We're increasing the size of the canvas while the bottom is visible. We scroll down to keep in step with the controls layout. */ - vertical_adjustment.set_value (position + canvas_timebars_vsize - canvas_height); + vertical_adjustment.set_value (full_canvas_height - canvas_height); } if (!route_redisplay_does_not_reset_order_keys && !route_redisplay_does_not_sync_order_keys) { |