diff options
author | Robin Gareus <robin@gareus.org> | 2014-05-31 14:06:10 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2014-05-31 14:06:10 +0200 |
commit | 2342b7d611d623d1e3a1e067decd8bce5672996a (patch) | |
tree | 3e0f433004d2aac20ae5047da39d0a80846a2502 /libs | |
parent | d6b1a9f6e3b45cfca2bdb0d80694b0afd40c5f39 (diff) |
don't allow waveform to bleed into TimeAxisViewItem frame border
Diffstat (limited to 'libs')
-rw-r--r-- | libs/canvas/wave_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/canvas/wave_view.cc b/libs/canvas/wave_view.cc index 9e0ddc7ee3..fa2c617d7b 100644 --- a/libs/canvas/wave_view.cc +++ b/libs/canvas/wave_view.cc @@ -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) { |