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 | |
parent | aedd14b18695d031f695d27dfbd94df5614495bb (diff) | |
download | ninja-648ee61ae84216d0236e0dbc211addc13b2cfa3a.tar.gz |
Expand tabs
Diffstat (limited to 'js/components/layout')
5 files changed, 24 insertions, 24 deletions
diff --git a/js/components/layout/document-bar.reel/document-bar.html b/js/components/layout/document-bar.reel/document-bar.html index 945ab689..c9e16120 100755 --- a/js/components/layout/document-bar.reel/document-bar.html +++ b/js/components/layout/document-bar.reel/document-bar.html | |||
@@ -72,8 +72,8 @@ POSSIBILITY OF SUCH DAMAGE. | |||
72 | "zoomControl": {"@": "hottext1"} | 72 | "zoomControl": {"@": "hottext1"} |
73 | } | 73 | } |
74 | } | 74 | } |
75 | } | 75 | } |
76 | </script> | 76 | </script> |
77 | 77 | ||
78 | 78 | ||
79 | </head> | 79 | </head> |
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() { |
diff --git a/js/components/layout/document-entry.reel/document-entry.html b/js/components/layout/document-entry.reel/document-entry.html index 4d89d6d7..da287f45 100755 --- a/js/components/layout/document-entry.reel/document-entry.html +++ b/js/components/layout/document-entry.reel/document-entry.html | |||
@@ -57,8 +57,8 @@ POSSIBILITY OF SUCH DAMAGE. | |||
57 | } | 57 | } |
58 | ] | 58 | ] |
59 | } | 59 | } |
60 | } | 60 | } |
61 | </script> | 61 | </script> |
62 | </head> | 62 | </head> |
63 | <body> | 63 | <body> |
64 | <li data-montage-id="documentEntry" class="documentEntry"> | 64 | <li data-montage-id="documentEntry" class="documentEntry"> |
diff --git a/js/components/layout/tools-list.reel/tools-list.html b/js/components/layout/tools-list.reel/tools-list.html index 76422d9e..92409684 100755 --- a/js/components/layout/tools-list.reel/tools-list.html +++ b/js/components/layout/tools-list.reel/tools-list.html | |||
@@ -160,8 +160,8 @@ POSSIBILITY OF SUCH DAMAGE. | |||
160 | ] | 160 | ] |
161 | } | 161 | } |
162 | } | 162 | } |
163 | } | 163 | } |
164 | </script> | 164 | </script> |
165 | 165 | ||
166 | </head> | 166 | </head> |
167 | 167 | ||
diff --git a/js/components/layout/tools-properties.reel/tools-properties.html b/js/components/layout/tools-properties.reel/tools-properties.html index f51bce10..6159a230 100755 --- a/js/components/layout/tools-properties.reel/tools-properties.html +++ b/js/components/layout/tools-properties.reel/tools-properties.html | |||
@@ -165,7 +165,7 @@ POSSIBILITY OF SUCH DAMAGE. | |||
165 | "rotateStageProperties": {"@": "rotateStageProperties"}, | 165 | "rotateStageProperties": {"@": "rotateStageProperties"}, |
166 | "panProperties": {"@": "panProperties"}, | 166 | "panProperties": {"@": "panProperties"}, |
167 | "zoomProperties": {"@": "zoomProperties"}, | 167 | "zoomProperties": {"@": "zoomProperties"}, |
168 | "bindingProperties": {"@": "bindingProperties"} | 168 | "bindingProperties": {"@": "bindingProperties"} |
169 | }, | 169 | }, |
170 | "bindings": { | 170 | "bindings": { |
171 | "currentSelectedTool": { | 171 | "currentSelectedTool": { |
@@ -175,8 +175,8 @@ POSSIBILITY OF SUCH DAMAGE. | |||
175 | } | 175 | } |
176 | } | 176 | } |
177 | } | 177 | } |
178 | } | 178 | } |
179 | </script> | 179 | </script> |
180 | 180 | ||
181 | </head> | 181 | </head> |
182 | 182 | ||