mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-19 21:26:26 +01:00
don't allow waveform to bleed into TimeAxisViewItem frame border
This commit is contained in:
parent
ea9a5e45e6
commit
31c49330f0
1 changed files with 1 additions and 1 deletions
|
|
@ -450,7 +450,7 @@ WaveView::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) cons
|
|||
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);
|
||||
|
||||
if (!d) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue