clang fix

This commit is contained in:
2023-03-06 19:53:40 +03:00
parent 254a88e7a4
commit 17fc04c2c6
2 changed files with 5 additions and 5 deletions

View File

@@ -215,7 +215,7 @@ void MapView::checkZoom() {
if (zoom_ < 0.) zoom_ = 0.;
if (zoom_ > max) zoom_ = max;
double mins = qMin(width(), height()) / appScale(this);
scale_ = std::pow(2., zoom_) * tileSize / mins;
scale_ = pow(2., zoom_) * tileSize / mins;
updateViewRect();
}