mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +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
ce63f22d80
commit
87fa554ac9
11 changed files with 144 additions and 38 deletions
|
|
@ -59,7 +59,7 @@ PolyLine::covers (Duple const & point) const
|
|||
|
||||
/* repeat for each line segment */
|
||||
|
||||
const Rect visible (_canvas->visible_area());
|
||||
const Rect visible (window_to_item (_canvas->visible_area()));
|
||||
|
||||
for (i = 1, j = 0; i < npoints; ++i, ++j) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue