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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user