Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
center the outer layer by snapping it to pixels and quantize scale
snap to 0.5, 0.25 if close to it (and not studio without bezel) prevents blurry images when container is not even in pixel width/height prevents blurry images from hard to scale fractions Actually fixes more pixel cracks then old solution. The left over bleeding seems to be due to a browser bug in both webkit and safari: https://bugs.webkit.org/show_bug.cgi?id=173466
- Loading branch information
Showing
1 changed file
with
17 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters