[P4/git history rebuild] further changes related to this codebase missing Ardour canvas autoscroll commits. Hopefully to be undone later by commits from a merge by Paul and Grygorii

This commit is contained in:
Valeriy Kamyshniy 2014-05-27 21:20:04 -04:00 committed by Paul Davis
parent 210689572b
commit a69bcbf502

View file

@ -179,12 +179,12 @@ Editor::canvas_event_sample (GdkEvent const * event, double* pcx, double* pcy) c
*pcy = y;
}
/* note that pixel_to_sample_from_event() never returns less than zero, so even if the pixel
/* note that pixel_to_sample() never returns less than zero, so even if the pixel
position is negative (as can be the case with motion events in particular),
the frame location is always positive.
*/
return pixel_to_sample_from_event (x);
return pixel_to_sample (x);
}
Gdk::Cursor*