mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-18 00:21:27 +00:00
CPSplitView fix for more than one splitter
This commit is contained in:
@@ -190,9 +190,11 @@ var CPSplitViewHorizontalImage = nil,
|
||||
{
|
||||
var count = [_subviews count] - 1;
|
||||
|
||||
if (count > 0)
|
||||
while (count--)
|
||||
[self drawDividerInRect:[self rectOfDividerAtIndex:count]];
|
||||
while ((count--) > 0)
|
||||
{
|
||||
_drawingDivider = count;
|
||||
[self drawDividerInRect:[self rectOfDividerAtIndex:count]];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)drawDividerInRect:(CGRect)aRect
|
||||
|
||||
Reference in New Issue
Block a user