mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-25 04:57:03 +00:00
fixed: missing splitView:effectiveRect:forDrawnRect:ofDividerAtIndex:
This commit is contained in:
@@ -262,6 +262,13 @@ var CPSplitViewControllerAutomaticDimension = -1.0;
|
||||
return proposedMaximumPosition;
|
||||
}
|
||||
|
||||
- (CGRect)splitView:(CPSplitView)splitView effectiveRect:(CGRect)proposedEffectiveRect forDrawnRect:(CGRect)drawnRect ofDividerAtIndex:(CPInteger)dividerIndex
|
||||
{
|
||||
// Default behavior: return the proposed rectangle.
|
||||
// This can be overridden to provide a larger or custom hit area for the divider.
|
||||
return proposedEffectiveRect;
|
||||
}
|
||||
|
||||
- (void)splitViewDidResizeSubviews:(CPNotification)notification
|
||||
{
|
||||
// Can be used to respond to user-initiated resizing.
|
||||
|
||||
Reference in New Issue
Block a user