[ios] Flip points, not edge insets
This commit is contained in:
committed by
Minh Nguyễn
parent
eee4764ed7
commit
8dfba0ef0b
@@ -35,9 +35,4 @@ PrecisionPoint EdgeInsets::getCenter(uint16_t width, uint16_t height) const {
|
||||
};
|
||||
}
|
||||
|
||||
void EdgeInsets::flip() {
|
||||
std::swap(top, bottom);
|
||||
std::swap(left, right);
|
||||
}
|
||||
|
||||
} // end namespace mbgl
|
||||
|
||||
Reference in New Issue
Block a user