wadackel / react-stack-grid

Pinterest like layout components for React.js
https://wadackel.github.io/react-stack-grid/
MIT License
869 stars 77 forks source link

round translate coordinates to avoid blurriness #37

Closed xaviergonz closed 6 years ago

xaviergonz commented 6 years ago

sometimes the transforms end up being non integer pixels (e.g. transformX: 117.5px), which results in blurry pixels in chrome. could the transform final value be rounded to the nearest whole pixel coordinate to avoid this?