Skip to content

Commit

Permalink
Merge pull request #576 from openmobilemaps/bugfix/less-alpha-changes
Browse files Browse the repository at this point in the history
only set hidden if inside collision grid
  • Loading branch information
maurhofer-ubique authored Jan 22, 2024
2 parents 39e9356 + bc62aa7 commit 633e5cf
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,10 @@ void Tiled2dMapVectorSymbolObject::collisionDetection(const double zoomIdentifie
}
}

setHideFromCollision(willCollide || outside);
if (!outside) {
setHideFromCollision(willCollide);
}

}

std::optional<std::tuple<Coord, VectorLayerFeatureInfo>> Tiled2dMapVectorSymbolObject::onClickConfirmed(const CircleD &clickHitCircle) {
Expand Down

0 comments on commit 633e5cf

Please sign in to comment.