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:
Jürg Lehni 2014-07-29 23:39:51 +02:00
parent 06366fb0ed
commit c90a7c9f38

View file

@ -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.