From 946fae3acf8ca9f384b662e40f406506e8b90ea7 Mon Sep 17 00:00:00 2001 From: Eric Guzman Date: Mon, 23 Apr 2012 22:37:34 -0700 Subject: CSSPanel - Resizer --- js/panels/css-panel/css-panel.reel/css-panel.js | 32 +------------------------ 1 file changed, 1 insertion(+), 31 deletions(-) (limited to 'js/panels/css-panel/css-panel.reel/css-panel.js') diff --git a/js/panels/css-panel/css-panel.reel/css-panel.js b/js/panels/css-panel/css-panel.reel/css-panel.js index 21a466d5..b6e9613b 100644 --- a/js/panels/css-panel/css-panel.reel/css-panel.js +++ b/js/panels/css-panel/css-panel.reel/css-panel.js @@ -8,26 +8,6 @@ var Montage = require("montage/core/core").Montage, Component = require("montage/ui/component").Component; exports.CSSPanelNew = Montage.create(Component, { - _resizedHeight : { - value: null - }, - isResizing : { - value: null - }, - _height: { - value: null - }, - height: { - get: function() { - return this._height; - }, - set: function(val) { - if(this._height !== val) { - this._height = val; - this.needsDraw = true; - } - } - }, prepareForDraw : { @@ -39,17 +19,7 @@ exports.CSSPanelNew = Montage.create(Component, { value: function() { console.log("css panel : draw. height: ", this.height); -// if(this.height) { -// console.log("CSS Panel draw - resizing to", (this.height + this._resizedHeight) + "px"); -// this.styleSheetsView.element.style.height = (this.height + this._resizedHeight) + "px"; -// } - } - }, - didDraw: { - value: function() { - if(!this.isResizing) { - //this.height = this.element.offsetHeight; - } + } } }); -- cgit v1.2.3