13
0

a more correct fix (partial reversion) for Drag::adjusted_time()

This commit is contained in:
Paul Davis 2021-09-25 16:28:22 -06:00
parent b209827d10
commit 66595ae60e

View File

@ -371,7 +371,8 @@ Drag::adjusted_time (timepos_t const & f, GdkEvent const * event, bool snap) con
timepos_t pos (f.time_domain()); /* zero */
if (f > _pointer_offset) {
pos = timepos_t (_pointer_offset).distance (f);
pos = f;
pos.shift_earlier (_pointer_offset);
}
if (snap) {