# HG changeset patch # User antonc27 # Date 1445295105 -7200 # Node ID 08f20ffa5801c63720800a20611d8c70495df700 # Parent e68b3e39209148edcf0a9d3e97a85b8a8fc92021 - Small adjust for cell selection color of Missions screen diff -r e68b3e392091 -r 08f20ffa5801 project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m --- a/project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m Mon Oct 19 03:39:47 2015 +0200 +++ b/project_files/HedgewarsMobile/Classes/MissionTrainingViewController.m Tue Oct 20 00:51:45 2015 +0200 @@ -148,6 +148,12 @@ cell.detailTextLabel.numberOfLines = ([cell.detailTextLabel.text length] % 40); cell.detailTextLabel.baselineAdjustment = UIBaselineAdjustmentAlignCenters; + UIView *bgColorView = [[UIView alloc] init]; + bgColorView.backgroundColor = [UIColor colorWithRed:(85.0/255.0) green:(15.0/255.0) blue:(106.0/255.0) alpha:1.0]; + bgColorView.layer.masksToBounds = YES; + cell.selectedBackgroundView = bgColorView; + [bgColorView release]; + cell.backgroundColor = [UIColor blackColorTransparent]; return cell; }