New: added method needsLayout in CPView

This commit is contained in:
Alexandre Wilhelm committed 2015-02-20 15:49:08 -08:00
1 parent f82b478a77
commit bb64d0dd54
1 file changed
+5
+5
View File
@@ -2624,6 +2624,11 @@ setBoundsOrigin:
_CPDisplayServerAddLayoutObject(self);
}
- (BOOL)needsLayout
{
return _needsLayout;
}
- (void)layoutIfNeeded
{
if (_needsLayout)