Oh, fuck that. Let's just set the explicit width/height, because if

something's never measured then it never gets these set.
This might break something.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@615 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Ray Greenwell
2008-08-08 03:32:57 +00:00
parent 2e9282a3e5
commit b08f508349
+2 -9
View File
@@ -34,16 +34,9 @@ public class FlexWrapper extends UIComponent
{
// don't capture mouse events in this wrapper
mouseEnabled = false;
_obj = object;
addChild(object);
width = object.width;
height = object.height;
}
override protected function measure () :void
{
measuredWidth = _obj.width;
measuredHeight = _obj.height;
}
protected var _obj :DisplayObject;
}
}