13
0

stop transport clocks from jumping after the playhead is moved via a CursorDrag

This commit is contained in:
Paul Davis 2020-03-25 19:19:46 -06:00
parent eeb2e99a3b
commit d7500056fc
3 changed files with 5 additions and 1 deletions

View File

@ -2056,7 +2056,7 @@ ARDOUR_UI::update_clocks ()
{
if (!_session) return;
if (editor && !editor->dragging_playhead()) {
if (editor && !editor->dragging_playhead() && !editor->pending_locate_request()) {
Clock (_session->audible_sample()); /* EMIT_SIGNAL */
}
}

View File

@ -167,6 +167,8 @@ public:
void first_idle ();
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; }
samplecnt_t current_page_samples() const {

View File

@ -373,6 +373,8 @@ public:
sigc::signal<void> Realized;
sigc::signal<void,samplepos_t> UpdateAllTransportClocks;
virtual bool pending_locate_request() const = 0;
static sigc::signal<void> DropDownKeys;
struct RegionAction {