Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix: Focal points are not rounded #18765
Currently, the focal point is not rounded. That makes the cover block markup contain attributes and styles with many decimal places.
How has this been tested?
I added a cover block with an image background.
We set a relative position in percentage rounding to two digits makes the percentages integer. The way we set the focus point in a small area probably does not provide a higher precision anyway. I think this precision should be enough, but let us keep an eye if people notice a difference.