From 6083faaf805221836cebc5ad4c110fadf493e150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 7 May 2011 09:56:27 +0100 Subject: [PATCH] Use getter instead of beans property. --- src/item/Group.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/item/Group.js b/src/item/Group.js index 720bc48b..399a7025 100644 --- a/src/item/Group.js +++ b/src/item/Group.js @@ -47,7 +47,7 @@ var Group = this.Group = Item.extend({ setClipped: function(clipped) { this._clipped = clipped; - var child = this.firstChild; + var child = this.getFirstChild(); if (child) child.setClipMask(clipped); },