Removed set and get methods and blank line before if added.

This commit is contained in:
Martin Carlberg
2012-05-25 10:47:07 +02:00
parent 183260d9e3
commit 8e785c2210
+2 -21
View File
@@ -794,26 +794,6 @@ NOT YET IMPLEMENTED
return [self currentValueForThemeAttribute:@"selection-color"];
}
/*!
Sets the highlight radius for a row or column selection.
@param aRadius a int
*/
- (void)setSelectionHighlightRadius:(int)aRadius
{
[self setValue:aRadius forThemeAttribute:"selection-radius"];
[self setNeedsDisplay:YES];
}
/*!
Returns the highlight radius for a row or column selection.
*/
- (int)selectionHighlightRadius
{
return [self currentValueForThemeAttribute:@"selection-radius"];
}
/*!
Sets the highlight gradient for a row or column selection
@@ -3794,7 +3774,8 @@ Your delegate can implement this method to avoid subclassing the tableview to ad
}
else
{
var radius = [self selectionHighlightRadius];
var radius = [self currentValueForThemeAttribute:@"selection-radius"];
if (radius > 0)
{
var minX = CGRectGetMinX(rowRect),