changeset 21 | 2eb229411d73 |
parent 13 | db7bb080c3d5 |
1.1 --- a/Source/DiscPiece.m Tue Jul 08 13:12:01 2008 -0700 1.2 +++ b/Source/DiscPiece.m Mon Jul 21 17:32:21 2008 -0700 1.3 @@ -41,7 +41,9 @@ 1.4 [_imageLayer release]; // superlayer is holding onto it 1.5 } 1.6 _imageLayer.frame = CGRectInset(self.bounds, outerDiameter-diameter, outerDiameter-diameter); 1.7 +#if !TARGET_OS_IPHONE 1.8 _imageLayer.cornerRadius = diameter/2; 1.9 +#endif 1.10 _imageLayer.contents = (id) image; 1.11 self.cornerRadius = outerDiameter/2; 1.12 self.borderWidth = 3;