summaryrefslogtreecommitdiff
path: root/src/mbgl/text/placement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mbgl/text/placement.cpp')
-rw-r--r--src/mbgl/text/placement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/text/placement.cpp b/src/mbgl/text/placement.cpp
index 5e0d04cc41..9f9d948b94 100644
--- a/src/mbgl/text/placement.cpp
+++ b/src/mbgl/text/placement.cpp
@@ -942,7 +942,7 @@ float Placement::zoomAdjustment(const float zoom) const {
// adjustment is used to reduce the fade duration for symbols while zooming out quickly.
// It is also used to reduce the interval between placement calculations. Reducing the
// interval between placements means collisions are discovered and eliminated sooner.
- return std::max(0.0, 1.0 - std::pow(2.0, zoom - placementZoom));
+ return std::max(0.0, (placementZoom - zoom) / 1.5);
}
bool Placement::hasTransitions(TimePoint now) const {