Nope. Looks right to me.

> On Jun 7, 2017, at 3:03 AM, Justin Mclean <jus...@classsoftware.com> wrote:
> 
> Hi,
> 
> Not 100% sure and I probably not understanding what these methods are doing 
> but perhaps the issue is in isHeightSizedToContent / isWidthSizedToContent.
> 
> Does the last line of each function look suspect to anyone else?
> 
> return (left === undefined || right === undefined);
> 
> return (top === undefined || bottom === undefined); 
> 
> I would of expected that && be used rather than ||?
> 
> Thanks,
> Justin
> 

Reply via email to