mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:11:18 +00:00
Added comments
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3863 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b3053fadef
commit
83e3e52e34
1 changed files with 14 additions and 0 deletions
|
@ -256,6 +256,13 @@ static SEL invalidateSel = @selector(_invalidateCoordinates);
|
|||
{
|
||||
NSMutableArray *views;
|
||||
|
||||
/*
|
||||
* We MUST make sure that coordinates are invalidated even if we have
|
||||
* no superview - cos they may have been rebuilt since we lost the
|
||||
* superview and the fact that this method has been invoked probably
|
||||
* means we are about to be placed in a new view where the coordinate
|
||||
* system will be different.
|
||||
*/
|
||||
if (coordinates_valid)
|
||||
(*invalidateImp)(self, invalidateSel);
|
||||
|
||||
|
@ -275,6 +282,13 @@ static SEL invalidateSel = @selector(_invalidateCoordinates);
|
|||
NSMutableArray *views;
|
||||
NSWindow *win;
|
||||
|
||||
/*
|
||||
* We MUST make sure that coordinates are invalidated even if we have
|
||||
* no superview - cos they may have been rebuilt since we lost the
|
||||
* superview and the fact that this method has been invoked probably
|
||||
* means we are about to be placed in a new view where the coordinate
|
||||
* system will be different.
|
||||
*/
|
||||
if (coordinates_valid)
|
||||
(*invalidateImp)(self, invalidateSel);
|
||||
|
||||
|
|
Loading…
Reference in a new issue