diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-04-30 02:37:05 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-04-30 02:37:05 +0000 |
commit | 53199152fdb49df703c2d87a778bc7e37663499d (patch) | |
tree | e7f7d285c197b6f587aedf8536dfcc4d48d33948 /gtk2_ardour/editor_route_list.cc | |
parent | 4ec4eb24638add2add1496a051cb5b57517b32c8 (diff) |
first pass of dynamically resizable track heights
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3298 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_route_list.cc')
-rw-r--r-- | gtk2_ardour/editor_route_list.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_route_list.cc b/gtk2_ardour/editor_route_list.cc index 306129b97d..7c07e84f9a 100644 --- a/gtk2_ardour/editor_route_list.cc +++ b/gtk2_ardour/editor_route_list.cc @@ -104,6 +104,14 @@ Editor::handle_gui_changes (const string & what, void *src) ENSURE_GUI_THREAD(bind (mem_fun(*this, &Editor::handle_gui_changes), what, src)); if (what == "track_height") { + /* make tracks change height while it happens, instead + of on first-idle + */ + track_canvas->update_now (); + redisplay_route_list (); + } + + if (what == "visible_tracks") { redisplay_route_list (); } } |