diff options
author | Chris Loer <chris.loer@gmail.com> | 2017-10-27 17:15:33 -0700 |
---|---|---|
committer | Chris Loer <chris.loer@gmail.com> | 2017-10-31 10:25:57 -0700 |
commit | e82e817df80f6832a61b4ca7526558d4826268d4 (patch) | |
tree | e462245427c5962bc5656603f454293288ebe719 | |
parent | 527866738750f0787653ec7a0301d1ebf9147ab3 (diff) | |
download | qtlocation-mapboxgl-e82e817df80f6832a61b4ca7526558d4826268d4.tar.gz |
Oops.
-rw-r--r-- | src/mbgl/text/collision_index.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/text/collision_index.cpp b/src/mbgl/text/collision_index.cpp index cf68c796bf..b80ba215fe 100644 --- a/src/mbgl/text/collision_index.cpp +++ b/src/mbgl/text/collision_index.cpp @@ -300,9 +300,9 @@ std::vector<IndexedSubfeature> CollisionIndex::queryRenderedSymbols(const Geomet seenFeatures.insert(feature.index); int16_t minX1 = bbox.min.x; - int16_t maxX1 = bbox.max.y; - int16_t minY1 = bbox.min.y; int16_t maxY1 = bbox.max.y; + int16_t minY1 = bbox.min.y; + int16_t maxX1 = bbox.max.x; auto bboxPoints = GeometryCoordinates { { minX1, minY1 }, { maxX1, minY1 }, { maxX1, maxY1 }, { minX1, maxY1 } |