fix tool palette during device rotations
This commit is contained in:
@@ -146,7 +146,7 @@ class MBXMapView
|
||||
paletteWidth,
|
||||
paletteHeight)];
|
||||
self.palette.backgroundColor = [UIColor colorWithWhite:0 alpha:alpha];
|
||||
self.palette.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin;
|
||||
self.palette.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleBottomMargin;
|
||||
self.palette.layer.cornerRadius = bufferSize;
|
||||
[self.view addSubview:self.palette];
|
||||
for (NSString *selectorName in selectorNames)
|
||||
|
||||
Reference in New Issue
Block a user