mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 09:27:39 +01:00
[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:
parent
210689572b
commit
a69bcbf502
1 changed files with 2 additions and 2 deletions
|
|
@ -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*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue