Fixing PlacedSymbol overflow

Initial value for `overflow` of svg elements is `visible`, but for elements that establish new viewports the value is overridden to `hidden`. A hidden overflow causes clipping of thick strokes, and may have additional consequences (I'm here because I was having trouble with my strokes).

As detailed in this issue: https://github.com/paperjs/paper.js/issues/642
This commit is contained in:
Alex Burner 2015-02-24 22:15:04 -08:00
parent 3b70fcd603
commit 9e95b8788a

View file

@ -202,6 +202,7 @@ new function() {
attrs.y += bounds.y;
attrs.width = formatter.number(bounds.width);
attrs.height = formatter.number(bounds.height);
attrs.overflow = 'visible';
return createElement('use', attrs);
}