mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-16 03:30:42 +00:00
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:
1 parent
8b9f36043d
commit
d00197b1f7
1 file changed
+4
-1
@@ -1849,7 +1849,10 @@ CPTexturedBackgroundWindowMask
|
||||
|
||||
_autorecalculatesKeyViewLoop = shouldRecalculate;
|
||||
|
||||
[self _dirtyKeyViewLoop];
|
||||
if (_keyViewLoopIsDirty)
|
||||
[self recalculateKeyViewLoop];
|
||||
else if (_autorecalculatesKeyViewLoop)
|
||||
[self _dirtyKeyViewLoop];
|
||||
}
|
||||
|
||||
- (BOOL)autorecalculatesKeyViewLoop
|
||||
|
||||
Reference in new issue
Block a user