diff options
author | Kris Kowal | 2012-07-06 11:52:06 -0700 |
---|---|---|
committer | Kris Kowal | 2012-07-06 15:01:48 -0700 |
commit | 648ee61ae84216d0236e0dbc211addc13b2cfa3a (patch) | |
tree | 8f0f55557bd0c47a84e49c1977c950645d284607 /js/components/layout/document-bar.reel/document-bar.js | |
parent | aedd14b18695d031f695d27dfbd94df5614495bb (diff) | |
download | ninja-648ee61ae84216d0236e0dbc211addc13b2cfa3a.tar.gz |
Expand tabs
Diffstat (limited to 'js/components/layout/document-bar.reel/document-bar.js')
-rwxr-xr-x | js/components/layout/document-bar.reel/document-bar.js | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/js/components/layout/document-bar.reel/document-bar.js b/js/components/layout/document-bar.reel/document-bar.js index 86c55267..7e2b4dbb 100755 --- a/js/components/layout/document-bar.reel/document-bar.js +++ b/js/components/layout/document-bar.reel/document-bar.js | |||
@@ -127,21 +127,21 @@ exports.DocumentBar = Montage.create(Component, { | |||
127 | value: 100 | 127 | value: 100 |
128 | }, | 128 | }, |
129 | 129 | ||
130 | zoomFactor: { | 130 | zoomFactor: { |
131 | get: function() { return this._zoomFactor; }, | 131 | get: function() { return this._zoomFactor; }, |
132 | 132 | ||
133 | set: function(value) | 133 | set: function(value) |
134 | { | 134 | { |
135 | if(value !== this._zoomFactor) | 135 | if(value !== this._zoomFactor) |
136 | { | 136 | { |
137 | this._zoomFactor = value; | 137 | this._zoomFactor = value; |
138 | if (!this._firstDraw) | 138 | if (!this._firstDraw) |
139 | { | 139 | { |
140 | this.application.ninja.stage.setZoom(value); | 140 | this.application.ninja.stage.setZoom(value); |
141 | } | 141 | } |
142 | } | 142 | } |
143 | } | 143 | } |
144 | }, | 144 | }, |
145 | 145 | ||
146 | draw: { | 146 | draw: { |
147 | value: function() { | 147 | value: function() { |