Commits

Anonymous committed 05a0740

Fixed issue where a styled text field with a gradient would draw a solid color immediately after its nib was opened

Comments (0)

Files changed (1)

BWStyledTextFieldCell.m

 			self.solidColor = [NSColor greenColor];
 		
 		if (self.hasGradient)
-			[self applyGradient];
+			[self performSelector:@selector(applyGradient) withObject:nil afterDelay:0];
 	}
 	return self;
 }