changeset 6219 | c193881389c1 |
parent 6115 | 485cfecadc9a |
child 6246 | 6b2d19ed521a |
--- a/project_files/HedgewarsMobile/Classes/MapPreviewButtonView.m Thu Oct 27 22:52:22 2011 +0200 +++ b/project_files/HedgewarsMobile/Classes/MapPreviewButtonView.m Fri Oct 28 03:06:31 2011 +0200 @@ -209,6 +209,8 @@ -(void) updatePreviewWithFile:(NSString *)filePath { UIImage *image = [[UIImage alloc] initWithContentsOfFile:filePath]; [self setImageRounded:image forState:UIControlStateNormal]; + self.backgroundColor = [UIColor whiteColor]; + self.layer.cornerRadius = 12; [image release]; }