summaryrefslogtreecommitdiff
path: root/src/mbgl/layout
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2019-11-13 11:50:43 +0200
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2019-12-02 17:11:49 +0200
commitf4f652063d9a9903d96bf6f32257a5e6fd6dbfe2 (patch)
treea0cfc90f23856f6c3a9ab0d193268db1df46b17f /src/mbgl/layout
parent34a9bc08ceefd695240047061fed41c591d30171 (diff)
downloadqtlocation-mapboxgl-f4f652063d9a9903d96bf6f32257a5e6fd6dbfe2.tar.gz
[core] Calculate line width and line breaks for images
Diffstat (limited to 'src/mbgl/layout')
-rw-r--r--src/mbgl/layout/symbol_layout.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/layout/symbol_layout.cpp b/src/mbgl/layout/symbol_layout.cpp
index c64a2d21d1..55de0d2a2b 100644
--- a/src/mbgl/layout/symbol_layout.cpp
+++ b/src/mbgl/layout/symbol_layout.cpp
@@ -367,7 +367,7 @@ void SymbolLayout::prepareSymbols(const GlyphMap& glyphMap, const GlyphPositions
const Shaping result = getShaping(
/* string */ formattedText,
/* maxWidth: ems */
- isPointPlacement ? layout->evaluate<TextMaxWidth>(zoom, feature) * util::ONE_EM : 0.0f,
+ isPointPlacement ? layout->evaluate<TextMaxWidth>(zoom, feature) * util::ONE_EM : 0.0f,
/* ems */ lineHeight,
textAnchor,
textJustify,