mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-26 08:27:43 +01:00
back out "ignore_gui_changes" stuff for track resizing
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4164 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
ecaaa71dda
commit
751c8022ef
2 changed files with 0 additions and 9 deletions
|
|
@ -300,7 +300,6 @@ Editor::Editor ()
|
|||
show_gain_after_trim = false;
|
||||
route_redisplay_does_not_sync_order_keys = false;
|
||||
route_redisplay_does_not_reset_order_keys = false;
|
||||
ignore_gui_changes = false;
|
||||
no_route_list_redisplay = false;
|
||||
verbose_cursor_on = true;
|
||||
route_removal = false;
|
||||
|
|
@ -4959,14 +4958,10 @@ Editor::add_to_idle_resize (TimeAxisView* view, uint32_t h)
|
|||
bool
|
||||
Editor::idle_resize ()
|
||||
{
|
||||
cerr << "idle resize to " << resize_idle_target << endl;
|
||||
ignore_gui_changes = true;
|
||||
for (vector<TimeAxisView*>::iterator i = pending_resizes.begin(); i != pending_resizes.end(); ++i) {
|
||||
(*i)->idle_resize (resize_idle_target);
|
||||
}
|
||||
pending_resizes.clear();
|
||||
ignore_gui_changes = false;
|
||||
handle_gui_changes ("track_height", this);
|
||||
flush_canvas ();
|
||||
resize_idle_id = -1;
|
||||
return false;
|
||||
|
|
|
|||
|
|
@ -101,10 +101,6 @@ Editor::handle_gui_changes (const string & what, void *src)
|
|||
{
|
||||
ENSURE_GUI_THREAD(bind (mem_fun(*this, &Editor::handle_gui_changes), what, src));
|
||||
|
||||
if (ignore_gui_changes) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (what == "track_height") {
|
||||
/* Optional :make tracks change height while it happens, instead
|
||||
of on first-idle
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue