mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 14:10:14 -05:00
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:
parent
3b70fcd603
commit
9e95b8788a
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue