Ignore playhead when finding delta from edit position for main clocks
authorColin Fletcher <colin.m.fletcher@googlemail.com>
Sat, 7 Feb 2015 01:13:04 +0000 (01:13 +0000)
committerColin Fletcher <colin.m.fletcher@googlemail.com>
Thu, 12 Feb 2015 18:06:16 +0000 (18:06 +0000)
commit24e8e865a6c5240ddacb2e2dca2f45be29ebfb03
tree9468f5dcc61e1a3da5b6ccdebde2fcf3447c5ec4
parent1973243a988be0717948f0fb2075bce4fe11e27b
Ignore playhead when finding delta from edit position for main clocks

Pass 'ignore_playhead == true' to Editor::get_preferred_edit_position()
when calculating offset of the primary and secondary main clocks if 'delta
to edit cursor' is selected, so that if the edit point is playhead, the
selected marker (if any) or mouse position will be used as the delta origin
instead.
gtk2_ardour/ardour_ui.cc