InsertRemoveTimeDialog initially ignores mouse edit position. also do this for distan...
authornick_m <mainsbridge@gmail.com>
Thu, 20 Oct 2016 15:50:35 +0000 (02:50 +1100)
committernick_m <mainsbridge@gmail.com>
Thu, 20 Oct 2016 15:50:35 +0000 (02:50 +1100)
gtk2_ardour/insert_remove_time_dialog.cc

index 0aeca1e2df37fc42f0b0e6b2b1756dcbfbcd6363..419d62789894abf7eca2bc452fbfe0c0882fdbe1 100644 (file)
@@ -164,7 +164,7 @@ InsertRemoveTimeDialog::move_locked_markers () const
 framepos_t
 InsertRemoveTimeDialog::distance () const
 {
-       return _clock.current_duration (_editor.get_preferred_edit_position ());
+       return _clock.current_duration (_editor.get_preferred_edit_position (EDIT_IGNORE_MOUSE));
 }
 
 void