summaryrefslogtreecommitdiff
path: root/src/mbgl/text/glyph.hpp
diff options
context:
space:
mode:
authorAnsis Brammanis <brammanis@gmail.com>2015-04-01 20:31:25 -0700
committerAnsis Brammanis <brammanis@gmail.com>2015-04-01 20:31:25 -0700
commitc49e1ac733f70d869eae91c5f825828c14168a31 (patch)
tree9895718fb84715da19dff07083db47b0f6a101ac /src/mbgl/text/glyph.hpp
parent1d50485e5b824d2608aeba2568f71ff5e4ec217d (diff)
downloadqtlocation-mapboxgl-c49e1ac733f70d869eae91c5f825828c14168a31.tar.gz
port getAnchors from -js
Diffstat (limited to 'src/mbgl/text/glyph.hpp')
-rw-r--r--src/mbgl/text/glyph.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/text/glyph.hpp b/src/mbgl/text/glyph.hpp
index 254cc212ec..bc46042d2a 100644
--- a/src/mbgl/text/glyph.hpp
+++ b/src/mbgl/text/glyph.hpp
@@ -58,7 +58,7 @@ class Shaping {
public:
inline explicit Shaping() : top(0), bottom(0), left(0), right(0) {}
inline explicit Shaping(float x, float y)
- : top(-y), bottom(y), left(-x), right(x) {}
+ : top(y), bottom(y), left(x), right(x) {}
std::vector<PositionedGlyph> positionedGlyphs;
int32_t top;
int32_t bottom;