mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-11 19:17:07 +00:00
A number of fixes relating to how CPSplitView divides itself by default, as well as adding CPView-viewWillDraw.
Reviewed by Tom.
This commit is contained in:
1 parent
89516d4a38
commit
f4cedf5acc
2 files changed
+90
-37
No files matched your search
@@ -1435,6 +1435,8 @@ setBoundsOrigin:
|
||||
*/
|
||||
- (void)displayRect:(CPRect)aRect
|
||||
{
|
||||
[self viewWillDraw];
|
||||
|
||||
[self displayRectIgnoringOpacity:aRect inContext:nil];
|
||||
|
||||
_dirtyRect = NULL;
|
||||
@@ -1450,6 +1452,10 @@ setBoundsOrigin:
|
||||
[self unlockFocus];
|
||||
}
|
||||
|
||||
- (void)viewWillDraw
|
||||
{
|
||||
}
|
||||
|
||||
/*
|
||||
Locks focus on the receiver, so drawing commands apply to it.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user