mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 06:00:56 -05:00
Only use the unmerged setting for #strokeScaling, as otherwise it'll be used on layers and groups already.
Closes #500
This commit is contained in:
parent
06366fb0ed
commit
c90a7c9f38
1 changed files with 1 additions and 1 deletions
|
@ -3674,7 +3674,7 @@ var Item = Base.extend(Callback, /** @lends Item# */{
|
|||
// Get the transformation matrix for non-scaling strokes.
|
||||
var strokeMatrix = parentStrokeMatrix
|
||||
? parentStrokeMatrix.chain(matrix)
|
||||
: !this.getStrokeScaling() && getViewMatrix(globalMatrix),
|
||||
: !this.getStrokeScaling(true) && getViewMatrix(globalMatrix),
|
||||
// If we're drawing into a separate canvas and a clipItem is defined
|
||||
// for the current rendering loop, we need to draw the clip item
|
||||
// again.
|
||||
|
|
Loading…
Reference in a new issue