Following kkaefer's view changes
This commit is contained in:
@@ -174,11 +174,7 @@ std::string Map::getStyleJSON() const {
|
||||
#pragma mark - Size
|
||||
|
||||
void Map::resize(uint16_t width, uint16_t height, float ratio) {
|
||||
resize(width, height, ratio, width * ratio, height * ratio);
|
||||
}
|
||||
|
||||
void Map::resize(uint16_t width, uint16_t height, float ratio, uint16_t fbWidth, uint16_t fbHeight) {
|
||||
if (data->transform.resize(width, height, ratio, fbWidth, fbHeight)) {
|
||||
if (data->transform.resize(width, height, ratio, width * ratio, height * ratio)) {
|
||||
triggerUpdate();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user