forked from organicmaps/organicmaps
Temporary iOS realization of visible viewport.
This commit is contained in:
parent
24834ce40c
commit
15ef506779
1 changed files with 2 additions and 0 deletions
|
@ -121,6 +121,8 @@ double getExactDPI(double contentScaleFactor)
|
|||
dispatch_async(dispatch_get_main_queue(), ^
|
||||
{
|
||||
GetFramework().OnSize(width, height);
|
||||
// TODO: Temporary realization of visible viewport, this code must be removed later.
|
||||
GetFramework().SetVisibleViewport(m2::RectD(0.0, 0.0, width, height));
|
||||
[self.widgetsManager resize:CGSizeMake(width, height)];
|
||||
self->_drapeEngineCreated = YES;
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue