Don't use a timer to update panner-UIs, rely on Changed signal
This commit is contained in:
parent
9fc68378c6
commit
cb43d6a38a
@ -535,14 +535,6 @@ PannerUI::pan_automation_state_changed ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
update_pan_sensitive ();
|
update_pan_sensitive ();
|
||||||
|
|
||||||
/* start watching automation so that things move */
|
|
||||||
|
|
||||||
pan_watching.disconnect();
|
|
||||||
|
|
||||||
if (x) {
|
|
||||||
pan_watching = Timers::rapid_connect (sigc::mem_fun (*this, &PannerUI::effective_pan_display));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
string
|
string
|
||||||
|
@ -140,7 +140,6 @@ private:
|
|||||||
|
|
||||||
void pan_automation_state_changed();
|
void pan_automation_state_changed();
|
||||||
gint pan_automation_state_button_event (GdkEventButton *);
|
gint pan_automation_state_button_event (GdkEventButton *);
|
||||||
sigc::connection pan_watching;
|
|
||||||
|
|
||||||
std::string astate_string (ARDOUR::AutoState);
|
std::string astate_string (ARDOUR::AutoState);
|
||||||
std::string short_astate_string (ARDOUR::AutoState);
|
std::string short_astate_string (ARDOUR::AutoState);
|
||||||
|
Loading…
Reference in New Issue
Block a user