From bb64d0dd54ba4dd271b09498dad193a8be12215a Mon Sep 17 00:00:00 2001 From: Alexandre Wilhelm Date: Fri, 20 Feb 2015 15:49:08 -0800 Subject: [PATCH] New: added method needsLayout in CPView --- AppKit/CPView.j | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AppKit/CPView.j b/AppKit/CPView.j index d7248a743..12f207bd6 100644 --- a/AppKit/CPView.j +++ b/AppKit/CPView.j @@ -2624,6 +2624,11 @@ setBoundsOrigin: _CPDisplayServerAddLayoutObject(self); } +- (BOOL)needsLayout +{ + return _needsLayout; +} + - (void)layoutIfNeeded { if (_needsLayout)