use ArdourCanvas::TimeRectangle for regions, notes, markers

This commit is contained in:
Paul Davis 2014-11-03 21:48:02 -05:00
parent 56994e785e
commit f1e6b28ab7
9 changed files with 21 additions and 20 deletions

View file

@ -795,7 +795,7 @@ WaveView::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) cons
return;
}
Rect self = item_to_window (Rect (0.5, 0.0, _region->length() / _samples_per_pixel, _height));
Rect self = item_to_window (Rect (0.0, 0.0, _region->length() / _samples_per_pixel, _height));
boost::optional<Rect> d = self.intersection (area);
if (!d) {