Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Label.getScreenSpaceBoundingBox by using the glyph dimensions
instead of the billboard dimensions. Using the billboard dimensions assumes that the text is very tightly centered in the glyph itself which isn't always the case with the SDF generated text. We'll look to tighten up the glyph size so it isn't unnecessarily big, but this this change should work in all cases so matter how much padding we have around the glyphs.
- Loading branch information