Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/iphone
diff options
context:
space:
mode:
authorIlya Grechuhin <i.grechuhin@gmail.com>2016-12-08 16:51:20 +0300
committerIlya Grechuhin <i.grechuhin@gmail.com>2016-12-08 16:59:37 +0300
commit86a489280f6a255fbbb51a11149f1e48c1193dc4 (patch)
treed1552213162400cfa2087640a78210e347c9251b /iphone
parent4874c87cf03d1987687256de7eaaab8d2c2e3a69 (diff)
[MAPSME-3161] [ios] Fixed blinking artefacts.
Diffstat (limited to 'iphone')
-rw-r--r--iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.mm4
-rw-r--r--iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.xib1
2 files changed, 5 insertions, 0 deletions
diff --git a/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.mm b/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.mm
index 15e8e60fc9..43cef28a21 100644
--- a/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.mm
+++ b/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.mm
@@ -32,6 +32,7 @@ CGFloat const kAnimationDuration = .05;
@property (nonatomic) MWMCircularProgress * progress;
+@property (weak, nonatomic) IBOutlet UIView * containerView;
@property (weak, nonatomic) IBOutlet UILabel * titleLabel;
@property (weak, nonatomic) IBOutlet UILabel * messageLabel;
@property (weak, nonatomic) IBOutlet UITableView * dialogsTableView;
@@ -107,6 +108,9 @@ CGFloat const kAnimationDuration = .05;
{
[self.dialogsTableView registerNib:[UINib nibWithNibName:kCellIdentifier bundle:nil] forCellReuseIdentifier:kCellIdentifier];
self.listExpanded = NO;
+ CALayer * containerViewLayer = self.containerView.layer;
+ containerViewLayer.shouldRasterize = YES;
+ containerViewLayer.rasterizationScale = [[UIScreen mainScreen] scale];
[self.dialogsTableView reloadData];
}
diff --git a/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.xib b/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.xib
index 224339bc7d..4299fa05a0 100644
--- a/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.xib
+++ b/iphone/Maps/Classes/CustomAlert/DownloadTransitMapsAlert/MWMDownloadTransitMapAlert.xib
@@ -192,6 +192,7 @@
<constraint firstAttribute="centerX" secondItem="Hay-Qx-kVw" secondAttribute="centerX" id="e0c-Aj-Anh"/>
</constraints>
<connections>
+ <outlet property="containerView" destination="Hay-Qx-kVw" id="YBK-zz-Ejj"/>
<outlet property="dialogsBottomOffset" destination="58e-JY-U6g" id="D2s-m8-XQl"/>
<outlet property="dialogsTableView" destination="1lL-cj-2oS" id="QPh-bX-GfH"/>
<outlet property="hDivider" destination="2nQ-k3-Rx3" id="5BD-2K-Qcc"/>