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
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-10-23 17:26:07 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:26:36 +0300
commit0aa7a5ea2567c4aa3576618120cd7a4feca672b4 (patch)
tree18c9758618f1f969abfbaaa1c6ed5bf3e53784d8 /iphone/Maps/Classes/EAGLView.mm
parentbf559047229bf85e109d30b49ac7dd9d4b10a85f (diff)
[ios] Downloader appears as a modal view
Diffstat (limited to 'iphone/Maps/Classes/EAGLView.mm')
-rw-r--r--iphone/Maps/Classes/EAGLView.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/iphone/Maps/Classes/EAGLView.mm b/iphone/Maps/Classes/EAGLView.mm
index cfc3804590..842ec24bef 100644
--- a/iphone/Maps/Classes/EAGLView.mm
+++ b/iphone/Maps/Classes/EAGLView.mm
@@ -200,7 +200,7 @@ bool _inRepaint = false;
- (void)layoutSubviews
{
CGFloat const scale = self.contentScaleFactor;
- CGSize const s = self.frame.size;
+ CGSize const s = self.bounds.size;
[self onSize:s.width * scale withHeight:s.height * scale];
}