[core] make padding optional when camera position is requested.
When padding is not provided, the current one that's cached in the TransformState is going to be returned.
This commit is contained in:
committed by
Łukasz Paczos
parent
6a4e431dbe
commit
e5c219d035
@@ -124,7 +124,7 @@ bool Map::isPanning() const {
|
||||
|
||||
#pragma mark -
|
||||
|
||||
CameraOptions Map::getCameraOptions(const EdgeInsets& padding) const {
|
||||
CameraOptions Map::getCameraOptions(optional<EdgeInsets> padding) const {
|
||||
return impl->transform.getCameraOptions(padding);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user