forked from organicmaps/organicmaps
[ios] Fixed bug with zoom buttons
This commit is contained in:
parent
da11771c3a
commit
b590898daa
1 changed files with 1 additions and 1 deletions
|
@ -583,7 +583,7 @@ extern NSString * const kAlohalyticsTapEventKey = @"$onClick";
|
|||
[self.view addSubview:self.zoomButtonsView];
|
||||
self.zoomButtonsView.minY = IPAD ? 560 : 176;
|
||||
self.zoomButtonsView.maxX = self.zoomButtonsView.superview.width;
|
||||
bool zoomButtonsEnabled;
|
||||
bool zoomButtonsEnabled = true;
|
||||
if (!Settings::Get("ZoomButtonsEnabled", zoomButtonsEnabled))
|
||||
zoomButtonsEnabled = false;
|
||||
self.zoomButtonsView.hidden = !zoomButtonsEnabled;
|
||||
|
|
Loading…
Add table
Reference in a new issue