diff options
Diffstat (limited to 'js/panels/Timeline/Layer.reel/Layer.js')
-rw-r--r-- | js/panels/Timeline/Layer.reel/Layer.js | 134 |
1 files changed, 134 insertions, 0 deletions
diff --git a/js/panels/Timeline/Layer.reel/Layer.js b/js/panels/Timeline/Layer.reel/Layer.js index 2e9a8f1a..bc1dfb7f 100644 --- a/js/panels/Timeline/Layer.reel/Layer.js +++ b/js/panels/Timeline/Layer.reel/Layer.js | |||
@@ -101,6 +101,140 @@ var Layer = exports.Layer = Montage.create(Component, { | |||
101 | } | 101 | } |
102 | }, | 102 | }, |
103 | 103 | ||
104 | /* Position and Transform hottext values */ | ||
105 | _dtextPositionX : { | ||
106 | value:null, | ||
107 | serializable: true, | ||
108 | }, | ||
109 | |||
110 | dtextPositionX:{ | ||
111 | serializable: true, | ||
112 | get:function(){ | ||
113 | return this._dtextPositionX; | ||
114 | }, | ||
115 | set:function(value){ | ||
116 | if (this._dtextPositionX !== value) { | ||
117 | this._dtextPositionX = value; | ||
118 | this.needsDraw = true; | ||
119 | } | ||
120 | |||
121 | } | ||
122 | }, | ||
123 | |||
124 | _dtextPositionY : { | ||
125 | value:null, | ||
126 | serializable: true, | ||
127 | }, | ||
128 | |||
129 | dtextPositionY:{ | ||
130 | serializable: true, | ||
131 | get:function(){ | ||
132 | return this._dtextPositionY; | ||
133 | }, | ||
134 | set:function(value){ | ||
135 | if (this._dtextPositionY !== value) { | ||
136 | this._dtextPositionY = value; | ||
137 | this.needsDraw = true; | ||
138 | } | ||
139 | |||
140 | } | ||
141 | }, | ||
142 | |||
143 | _dtextScaleX : { | ||
144 | value:null, | ||
145 | serializable: true, | ||
146 | }, | ||
147 | |||
148 | dtextScaleX:{ | ||
149 | serializable: true, | ||
150 | get:function(){ | ||
151 | return this._dtextScaleX; | ||
152 | }, | ||
153 | set:function(value){ | ||
154 | if (this._dtextScaleX !== value) { | ||
155 | this._dtextScaleX = value; | ||
156 | this.needsDraw = true; | ||
157 | } | ||
158 | |||
159 | } | ||
160 | }, | ||
161 | |||
162 | _dtextScaleY : { | ||
163 | value:null, | ||
164 | serializable: true, | ||
165 | }, | ||
166 | |||
167 | dtextScaleY:{ | ||
168 | serializable: true, | ||
169 | get:function(){ | ||
170 | return this._dtextScaleY; | ||
171 | }, | ||
172 | set:function(value){ | ||
173 | if (this._dtextScaleY !== value) { | ||
174 | this._dtextScaleY = value; | ||
175 | this.needsDraw = true; | ||
176 | } | ||
177 | |||
178 | } | ||
179 | }, | ||
180 | |||
181 | _dtextSkewX : { | ||
182 | value:null, | ||
183 | serializable: true, | ||
184 | }, | ||
185 | |||
186 | dtextSkewX:{ | ||
187 | serializable: true, | ||
188 | get:function(){ | ||
189 | return this._dtextSkewX; | ||
190 | }, | ||
191 | set:function(value){ | ||
192 | if (this._dtextSkewX !== value) { | ||
193 | this._dtextSkewX = value; | ||
194 | this.needsDraw = true; | ||
195 | } | ||
196 | |||
197 | } | ||
198 | }, | ||
199 | |||
200 | _dtextSkewY : { | ||
201 | value:null, | ||
202 | serializable: true, | ||
203 | }, | ||
204 | |||
205 | dtextSkewY:{ | ||
206 | serializable: true, | ||
207 | get:function(){ | ||
208 | return this._dtextSkewY; | ||
209 | }, | ||
210 | set:function(value){ | ||
211 | if (this._dtextSkewY !== value) { | ||
212 | this._dtextSkewY = value; | ||
213 | this.needsDraw = true; | ||
214 | } | ||
215 | |||
216 | } | ||
217 | }, | ||
218 | |||
219 | _dtextRotate : { | ||
220 | value:null, | ||
221 | serializable: true, | ||
222 | }, | ||
223 | |||
224 | dtextRotate:{ | ||
225 | serializable: true, | ||
226 | get:function(){ | ||
227 | return this._dtextRotate; | ||
228 | }, | ||
229 | set:function(value){ | ||
230 | if (this._dtextRotate !== value) { | ||
231 | this._dtextRotate = value; | ||
232 | this.needsDraw = true; | ||
233 | } | ||
234 | |||
235 | } | ||
236 | }, | ||
237 | |||
104 | /* isSelected: whether or not the layer is currently selected. */ | 238 | /* isSelected: whether or not the layer is currently selected. */ |
105 | _isSelected:{ | 239 | _isSelected:{ |
106 | value: false, | 240 | value: false, |