diff options
author | David Robillard <d@drobilla.net> | 2008-09-23 22:23:39 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-09-23 22:23:39 +0000 |
commit | 95d82d7a16b241632bd3d35a5c11c27e7e257984 (patch) | |
tree | 4b248d519f369d73817ed6a1470ece4cbbfd6ce3 /gtk2_ardour/editor_canvas.cc | |
parent | 81c571f2f01e7d5ab86220c1334403daeffff165 (diff) |
An actual tempo line cache (not quite perfect when scrolling left, but miles ahead of the previous one didn't really help at all).
Tempo line updating done immediately/directly rather than in an idle handler.
Looking for feedback how this works for other people, performance wise...
Feel-wise, the obvious lag between scrolling and tempo lines being drawn is now gone.
git-svn-id: svn://localhost/ardour2/branches/3.0@3799 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_canvas.cc')
-rw-r--r-- | gtk2_ardour/editor_canvas.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_canvas.cc b/gtk2_ardour/editor_canvas.cc index c72c9b4e3e..1e26778135 100644 --- a/gtk2_ardour/editor_canvas.cc +++ b/gtk2_ardour/editor_canvas.cc @@ -904,7 +904,8 @@ Editor::canvas_scroll_to (nframes64_t time_origin) update_fixed_rulers (); - redisplay_tempo (!_dragging_hscrollbar); + //redisplay_tempo (!_dragging_hscrollbar); + redisplay_tempo (true); } void |