Fix lineset drawing (again), apply cairo 0.5px offset
see also f08299ea1e
This commit is contained in:
parent
2698b23f82
commit
3ab3ef3b55
@ -101,7 +101,7 @@ LineSet::render (Rect const & area, Cairo::RefPtr<Cairo::Context> context) const
|
||||
for (auto const & l : _lines) {
|
||||
|
||||
Rect self;
|
||||
const double shift = l.width * 0.5 - 1;
|
||||
const double shift = 0.5;
|
||||
|
||||
if (_orientation == Horizontal) {
|
||||
self = Rect (0, l.pos - (l.width/2.0), _extent, l.pos + (l.width/2.0));
|
||||
|
Loading…
Reference in New Issue
Block a user