[ios] Flip points, not edge insets

This commit is contained in:
Minh Nguyễn
2016-01-18 16:01:08 -08:00
committed by Minh Nguyễn
parent eee4764ed7
commit 8dfba0ef0b
3 changed files with 7 additions and 14 deletions

View File

@@ -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