From 422b8911b872940c6ab1bfcb152856c8fa0bd313 Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Sat, 26 Feb 2011 13:14:58 +0100 Subject: [PATCH] Fix PlacedSymbol#transformContent. --- src/item/PlacedSymbol.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/item/PlacedSymbol.js b/src/item/PlacedSymbol.js index ceef9d18..788d0e91 100644 --- a/src/item/PlacedSymbol.js +++ b/src/item/PlacedSymbol.js @@ -19,7 +19,10 @@ PlacedSymbol = Item.extend({ } else { this.matrix = new Matrix(); } + // TODO: this should use strokeBounds: this._bounds = this.symbol.definition.bounds.clone(); + // TODO: should size be cached here, or on Symbol? + this._size = this._bounds.size; }, transformContent: function(matrix, flags) {