From d59f0007797cc5889f9d22105e5679eab7aaef3b Mon Sep 17 00:00:00 2001 From: Chris Loer Date: Thu, 26 Oct 2017 16:13:06 -0700 Subject: Make sure to mark symbols as collided if they don't fit on their line geometry. [skip ci] --- src/mbgl/text/collision_index.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mbgl/text/collision_index.cpp b/src/mbgl/text/collision_index.cpp index 26d956ac22..0112e1de1a 100644 --- a/src/mbgl/text/collision_index.cpp +++ b/src/mbgl/text/collision_index.cpp @@ -198,7 +198,7 @@ bool CollisionIndex::placeLineFeature(CollisionFeature& feature, } } - return !collisionDetected; + return !collisionDetected && firstAndLastGlyph; } -- cgit v1.2.1