don't allow waveform to bleed into TimeAxisViewItem frame border
This commit is contained in:
parent
d6b1a9f6e3
commit
2342b7d611
@ -450,7 +450,7 @@ WaveView::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) cons
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Rect self = item_to_window (Rect (0.0, 0.0, _region->length() / _samples_per_pixel, _height));
|
Rect self = item_to_window (Rect (0.5, 0.0, _region->length() / _samples_per_pixel, _height));
|
||||||
boost::optional<Rect> d = self.intersection (area);
|
boost::optional<Rect> d = self.intersection (area);
|
||||||
|
|
||||||
if (!d) {
|
if (!d) {
|
||||||
|
Loading…
Reference in New Issue
Block a user