mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 00:52:58 +00:00
New: added method needsLayout in CPView
This commit is contained in:
1 parent
f82b478a77
commit
bb64d0dd54
1 file changed
+5
@@ -2624,6 +2624,11 @@ setBoundsOrigin:
|
||||
_CPDisplayServerAddLayoutObject(self);
|
||||
}
|
||||
|
||||
- (BOOL)needsLayout
|
||||
{
|
||||
return _needsLayout;
|
||||
}
|
||||
|
||||
- (void)layoutIfNeeded
|
||||
{
|
||||
if (_needsLayout)
|
||||
|
||||
Reference in new issue
Block a user