- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- (void)refreshCursorRow
{
int row = [dataSource numberOfLines] - [dataSource height] + [dataSource cursorY];
- [self setNeedsDisplayInRect:CGRectMake(0, row *lineHeight, self.frame.size.width, lineHeight)];
+ if (SaurikIsSad)
+ [self setNeedsDisplay];
+ else
+ [self setNeedsDisplayInRect:CGRectMake(0, row *lineHeight, self.frame.size.width, lineHeight)];
}