diff options
Diffstat (limited to 'js/components/layout/document-bar.reel')
-rwxr-xr-x | js/components/layout/document-bar.reel/document-bar.html | 8 | ||||
-rwxr-xr-x | js/components/layout/document-bar.reel/document-bar.js | 1 |
2 files changed, 3 insertions, 6 deletions
diff --git a/js/components/layout/document-bar.reel/document-bar.html b/js/components/layout/document-bar.reel/document-bar.html index bd13f231..8dcaf178 100755 --- a/js/components/layout/document-bar.reel/document-bar.html +++ b/js/components/layout/document-bar.reel/document-bar.html | |||
@@ -1,4 +1,4 @@ | |||
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <!-- <copyright> | 2 | <!-- <copyright> |
3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> | 3 | This file contains proprietary software owned by Motorola Mobility, Inc.<br/> |
4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> | 4 | No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.<br/> |
@@ -13,8 +13,7 @@ | |||
13 | <script type="text/montage-serialization"> | 13 | <script type="text/montage-serialization"> |
14 | { | 14 | { |
15 | "hottext1": { | 15 | "hottext1": { |
16 | "module": "js/components/hottextunit.reel", | 16 | "prototype": "js/components/hottextunit.reel[HotTextUnit]", |
17 | "name": "HotTextUnit", | ||
18 | "properties": { | 17 | "properties": { |
19 | "element": {"#": "zoomControlHT"}, | 18 | "element": {"#": "zoomControlHT"}, |
20 | "minValue":25, | 19 | "minValue":25, |
@@ -47,8 +46,7 @@ | |||
47 | }, | 46 | }, |
48 | 47 | ||
49 | "owner": { | 48 | "owner": { |
50 | "module": "js/components/layout/document-bar.reel", | 49 | "prototype": "js/components/layout/document-bar.reel", |
51 | "name": "DocumentBar", | ||
52 | "properties": { | 50 | "properties": { |
53 | "element": {"#": "documentBar"}, | 51 | "element": {"#": "documentBar"}, |
54 | "designView": {"#": "design"}, | 52 | "designView": {"#": "design"}, |
diff --git a/js/components/layout/document-bar.reel/document-bar.js b/js/components/layout/document-bar.reel/document-bar.js index 4dc39fd6..66a02725 100755 --- a/js/components/layout/document-bar.reel/document-bar.js +++ b/js/components/layout/document-bar.reel/document-bar.js | |||
@@ -57,7 +57,6 @@ exports.DocumentBar = Montage.create(Component, { | |||
57 | this._zoomFactor = value; | 57 | this._zoomFactor = value; |
58 | if (!this._firstDraw) | 58 | if (!this._firstDraw) |
59 | { | 59 | { |
60 | var viewUtils = this.application.ninja.stage.viewUtils; | ||
61 | this.application.ninja.stage.setZoom(value); | 60 | this.application.ninja.stage.setZoom(value); |
62 | } | 61 | } |
63 | } | 62 | } |