diff options
author | Eric Guzman | 2012-05-25 16:37:43 -0700 |
---|---|---|
committer | Eric Guzman | 2012-05-25 16:37:43 -0700 |
commit | e884d2769a53dd8920b485672631b50158ed0800 (patch) | |
tree | 526934085f973f0bcfef5a3f130794530396aa03 /js/tools/ZoomTool.js | |
parent | 1f7c17d688c3340b31d2e1c2b7205b10bd806968 (diff) | |
parent | 81239571c538f72e398fafa5b07725bf1bbb2d5d (diff) | |
download | ninja-e884d2769a53dd8920b485672631b50158ed0800.tar.gz |
Merge branch 'binding' of github.com:dhg637/ninja-internal into binding
Diffstat (limited to 'js/tools/ZoomTool.js')
-rwxr-xr-x | js/tools/ZoomTool.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tools/ZoomTool.js b/js/tools/ZoomTool.js index 17301262..dc096592 100755 --- a/js/tools/ZoomTool.js +++ b/js/tools/ZoomTool.js | |||
@@ -184,7 +184,7 @@ exports.ZoomTool = Montage.create(DrawingTool, { | |||
184 | _setZoom:{ | 184 | _setZoom:{ |
185 | value:function(mode,zoomFactor) | 185 | value:function(mode,zoomFactor) |
186 | { | 186 | { |
187 | var userContent = this.application.ninja.currentDocument.documentRoot; | 187 | var userContent = this.application.ninja.currentDocument.model.documentRoot; |
188 | this._oldValue = this.application.ninja.documentBar.zoomFactor; | 188 | this._oldValue = this.application.ninja.documentBar.zoomFactor; |
189 | 189 | ||
190 | var globalPt; | 190 | var globalPt; |