fixed: missing splitView:effectiveRect:forDrawnRect:ofDividerAtIndex:

This commit is contained in:
daboe01
2025-09-24 14:20:37 +02:00
parent a3cb43bad8
commit 812f69f4a7
+7
View File
@@ -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.