mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Added comment about what looks like a bug
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15731 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b3782e2403
commit
9111bb7a75
1 changed files with 9 additions and 0 deletions
|
@ -1690,6 +1690,15 @@ static NSColor *shadowCol;
|
|||
*/
|
||||
if ([self isOpaque] == NO)
|
||||
{
|
||||
/* FIXME - This looks like potentially generating an
|
||||
* infinite loop! The control asking the cell to draw
|
||||
* itself in the rect, the cell asking the control to draw
|
||||
* the rect, the control asking the cell to draw itself in
|
||||
* the rect, the cell ...
|
||||
*
|
||||
* I think we should remove it. The control is responsible
|
||||
* for using the cell to draw, not vice versa.
|
||||
*/
|
||||
[controlView displayRect: cellFrame];
|
||||
}
|
||||
[self drawWithFrame: cellFrame inView: controlView];
|
||||
|
|
Loading…
Reference in a new issue