mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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/3.0@3854 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ad4919ce92
commit
12cbe6d502
5 changed files with 49 additions and 81 deletions
|
|
@ -143,6 +143,8 @@ class TimeAxisView : public virtual AxisView, public PBD::Stateful
|
|||
*/
|
||||
virtual guint32 show_at (double y, int& nth, Gtk::VBox *parent);
|
||||
|
||||
void clip_to_viewport ();
|
||||
|
||||
bool touched (double top, double bot);
|
||||
|
||||
/** Hides this TrackView */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue