summaryrefslogtreecommitdiff
path: root/libs/canvas/line.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2014-05-18 12:22:23 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2014-06-03 16:09:06 -0400
commit97109672c784f9b78617ed9bef72c046a55aa25c (patch)
treef41be112c548a60e0e9a3fc4f903633dae0c5882 /libs/canvas/line.cc
parentee6c483d18790a5447b95c7c71ab410d0d778132 (diff)
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
Diffstat (limited to 'libs/canvas/line.cc')
-rw-r--r--libs/canvas/line.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/canvas/line.cc b/libs/canvas/line.cc
index 8f04e2b278..33ec41fc3d 100644
--- a/libs/canvas/line.cc
+++ b/libs/canvas/line.cc
@@ -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