diff options
author | Valerio Virgillito | 2012-04-30 16:15:47 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-04-30 16:15:47 -0700 |
commit | 9c8fbdd11fdbe9ae73d57147de84b799c5a87652 (patch) | |
tree | 9a6d798fcbf33518f1488ed84fa075c707ecffd0 /js/stage/layout.js | |
parent | 6b1a6994d98a18b45016b97ac8d81483109a586c (diff) | |
download | ninja-9c8fbdd11fdbe9ae73d57147de84b799c5a87652.tar.gz |
Squashed commit of stage architecture
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/stage/layout.js')
-rwxr-xr-x | js/stage/layout.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/stage/layout.js b/js/stage/layout.js index a096848e..0a76dbe5 100755 --- a/js/stage/layout.js +++ b/js/stage/layout.js | |||
@@ -174,7 +174,7 @@ exports.Layout = Montage.create(Component, { | |||
174 | var tmpMat = viewUtils.getLocalToGlobalMatrix( item ); | 174 | var tmpMat = viewUtils.getLocalToGlobalMatrix( item ); |
175 | 175 | ||
176 | var zoomFactor = 1; | 176 | var zoomFactor = 1; |
177 | if (this.stage._viewport.style && this.stage._viewport.style.zoom) { | 177 | if (this.stage._viewport && this.stage._viewport.style && this.stage._viewport.style.zoom) { |
178 | zoomFactor = Number(this.stage._viewport.style.zoom); | 178 | zoomFactor = Number(this.stage._viewport.style.zoom); |
179 | } | 179 | } |
180 | 180 | ||