mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 19:07:38 +00:00
[setContainerSize:] only informs layout manager if really changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@7896 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cf2cd53ca5
commit
ca10da60f3
1 changed files with 3 additions and 0 deletions
|
@ -165,6 +165,9 @@
|
|||
|
||||
- (void) setContainerSize: (NSSize)aSize
|
||||
{
|
||||
if (NSEqualSizes(_containerRect.size, aSize))
|
||||
return;
|
||||
|
||||
_containerRect = NSMakeRect (0, 0, aSize.width, aSize.height);
|
||||
|
||||
if (_layoutManager)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue