mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
initial redesign of canvas scrolling to facilitate independent x- and y-axis scrolling of specific groups within the canvas.
This commit should cause no change in behaviour, but contains all the code and changes necessary for the next step
This commit is contained in:
parent
ee6c483d18
commit
97109672c7
11 changed files with 144 additions and 38 deletions
|
|
@ -180,7 +180,7 @@ Line::covers (Duple const & point) const
|
|||
double t;
|
||||
Duple a (_points[0]);
|
||||
Duple b (_points[1]);
|
||||
const Rect visible (_canvas->visible_area());
|
||||
const Rect visible (window_to_item (_canvas->visible_area()));
|
||||
|
||||
/*
|
||||
Clamp the line endpoints to the visible area of the canvas. If we do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue