diff options
author | Nick Mainsbridge <beatroute@iprimus.com.au> | 2008-10-04 08:23:29 +0000 |
---|---|---|
committer | Nick Mainsbridge <beatroute@iprimus.com.au> | 2008-10-04 08:23:29 +0000 |
commit | f138091f7e6413623390cd2168aaac7d0a7d71c2 (patch) | |
tree | 2ac78d0cba4edaab208bb2724ddc13d28c819093 /gtk2_ardour/automation_time_axis.cc | |
parent | 51f2a5fc4ee73752cb635db913769f9d47941933 (diff) |
Improve scrolling performance for sessions containing hundreds of regions over many tracks by hiding offscreen tracks (scroll faster by making tracks larger, exposing fewer of them). Use distance from screen edges to drive autoscrolling distance. Avoid using canvas coordinates for displacement calculations where possible. Don't redisplay tempo in the colour handler.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3853 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/automation_time_axis.cc')
-rw-r--r-- | gtk2_ardour/automation_time_axis.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/automation_time_axis.cc b/gtk2_ardour/automation_time_axis.cc index 12a0f8a86a..f67dd96034 100644 --- a/gtk2_ardour/automation_time_axis.cc +++ b/gtk2_ardour/automation_time_axis.cc @@ -367,11 +367,11 @@ AutomationTimeAxisView::set_height (uint32_t h) clear_button.hide(); hide_button.hide(); } - } else if (h >= hNormal){ - auto_button.show(); - height_button.show(); - clear_button.show(); - hide_button.show_all(); + } else if (h >= hNormal){ + auto_button.show(); + height_button.show(); + clear_button.show(); + hide_button.show_all(); } if (changed) { |