This forces a recalculation at the point where autorecalculation is turned off (only if it was dirty).

From what I can tell, this brings it into line with how Cocoa handles the situation.

Closes issue #250.
This commit is contained in:
Ross Boucher committed 2009-09-10 12:05:55 -04:00
1 parent 8b9f36043d
commit d00197b1f7
1 file changed
+4 -1
+4 -1
View File
@@ -1849,7 +1849,10 @@ CPTexturedBackgroundWindowMask
_autorecalculatesKeyViewLoop = shouldRecalculate;
[self _dirtyKeyViewLoop];
if (_keyViewLoopIsDirty)
[self recalculateKeyViewLoop];
else if (_autorecalculatesKeyViewLoop)
[self _dirtyKeyViewLoop];
}
- (BOOL)autorecalculatesKeyViewLoop