stop transport clocks from jumping after the playhead is moved via a CursorDrag
This commit is contained in:
parent
eeb2e99a3b
commit
d7500056fc
@ -2056,7 +2056,7 @@ ARDOUR_UI::update_clocks ()
|
|||||||
{
|
{
|
||||||
if (!_session) return;
|
if (!_session) return;
|
||||||
|
|
||||||
if (editor && !editor->dragging_playhead()) {
|
if (editor && !editor->dragging_playhead() && !editor->pending_locate_request()) {
|
||||||
Clock (_session->audible_sample()); /* EMIT_SIGNAL */
|
Clock (_session->audible_sample()); /* EMIT_SIGNAL */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -167,6 +167,8 @@ public:
|
|||||||
void first_idle ();
|
void first_idle ();
|
||||||
virtual bool have_idled () const { return _have_idled; }
|
virtual bool have_idled () const { return _have_idled; }
|
||||||
|
|
||||||
|
bool pending_locate_request() const { return _pending_locate_request; }
|
||||||
|
|
||||||
samplepos_t leftmost_sample() const { return _leftmost_sample; }
|
samplepos_t leftmost_sample() const { return _leftmost_sample; }
|
||||||
|
|
||||||
samplecnt_t current_page_samples() const {
|
samplecnt_t current_page_samples() const {
|
||||||
|
@ -373,6 +373,8 @@ public:
|
|||||||
sigc::signal<void> Realized;
|
sigc::signal<void> Realized;
|
||||||
sigc::signal<void,samplepos_t> UpdateAllTransportClocks;
|
sigc::signal<void,samplepos_t> UpdateAllTransportClocks;
|
||||||
|
|
||||||
|
virtual bool pending_locate_request() const = 0;
|
||||||
|
|
||||||
static sigc::signal<void> DropDownKeys;
|
static sigc::signal<void> DropDownKeys;
|
||||||
|
|
||||||
struct RegionAction {
|
struct RegionAction {
|
||||||
|
Loading…
Reference in New Issue
Block a user