aboutsummaryrefslogtreecommitdiff
path: root/js/panels/components-panel.reel
diff options
context:
space:
mode:
Diffstat (limited to 'js/panels/components-panel.reel')
-rwxr-xr-xjs/panels/components-panel.reel/components-panel.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/panels/components-panel.reel/components-panel.js b/js/panels/components-panel.reel/components-panel.js
index acbf702f..5d3c0a73 100755
--- a/js/panels/components-panel.reel/components-panel.js
+++ b/js/panels/components-panel.reel/components-panel.js
@@ -286,9 +286,7 @@ exports.ComponentsPanel = Montage.create(Component, {
286 var styles = { 286 var styles = {
287 'position': 'absolute', 287 'position': 'absolute',
288 'left' : that.dragPosition[0] + 'px', 288 'left' : that.dragPosition[0] + 'px',
289 'top' : that.dragPosition[1] + 'px', 289 'top' : that.dragPosition[1] + 'px'
290 '-webkit-transform-style' : 'preserve-3d',
291 '-webkit-transform' : 'perspective(1400) matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)'
292 }; 290 };
293 291
294 var defaultStyles = component.defaultStyles; 292 var defaultStyles = component.defaultStyles;
@@ -369,7 +367,7 @@ exports.ComponentsPanel = Montage.create(Component, {
369 break; 367 break;
370 case "textarea": 368 case "textarea":
371 el = NJUtils.makeNJElement("textarea", "TextArea", "component"); 369 el = NJUtils.makeNJElement("textarea", "TextArea", "component");
372 el.elementModel.pi = "TextAreaPi"; 370 el.elementModel.pi = "TextareaPi";
373 break; 371 break;
374 case "toggleButton": 372 case "toggleButton":
375 el = NJUtils.makeNJElement("button", "Toggle Button", "component"); 373 el = NJUtils.makeNJElement("button", "Toggle Button", "component");