mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-08-31 16:03:37 +00:00
Merge remote-tracking branch 'cappuccino/master'
This commit is contained in:
+1
-1
@@ -378,7 +378,7 @@ CPButtonImageOffset = 3.0;
|
||||
|
||||
- (void)setImage:(CPImage)anImage
|
||||
{
|
||||
[self setValue:anImage forThemeAttribute:@"image"];
|
||||
[self setValue:anImage forThemeAttribute:@"image" inState:CPThemeStateNormal];
|
||||
}
|
||||
|
||||
- (CPImage)image
|
||||
|
||||
@@ -72,7 +72,7 @@ var CPSourceListDataSource_sourceList_itemHasBadge_ = 1 << 1,
|
||||
|
||||
//Make sure that the item has a badge
|
||||
if (![self itemHasBadge:rowItem])
|
||||
return CGSizeZero();
|
||||
return CGSizeMakeZero();
|
||||
|
||||
var badgeString = [CPString stringWithFormat:@"%d", [self badgeValueForItem:rowItem]];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user