mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-24 15:35:52 +00:00
Merge branch 'primalmotion-fix-cptabview'
This commit is contained in:
commit
651970899d
1 file changed
+3
-3
+3
-3
@@ -49,7 +49,7 @@ var CPTabViewDidSelectTabViewItemSelector = 1,
|
||||
{
|
||||
_tabs = [[CPSegmentedControl alloc] initWithFrame:CGRectMake(0, 0, 0, 0)];
|
||||
[_tabs setHitTests:NO];
|
||||
|
||||
|
||||
var height = [_tabs valueForThemeAttribute:@"default-height"];
|
||||
[_tabs setFrameSize:CGSizeMake(0, height)];
|
||||
|
||||
@@ -99,9 +99,9 @@ var CPTabViewDidSelectTabViewItemSelector = 1,
|
||||
var count = [_items count];
|
||||
for (var i = 0; i < count; i++)
|
||||
{
|
||||
if ([items objectAtIndex:i] === aTabViewItem)
|
||||
if ([_items objectAtIndex:i] === aTabViewItem)
|
||||
{
|
||||
[items removeObjectAtIndex:i];
|
||||
[_items removeObjectAtIndex:i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user