Added the always even positions to the smart layout to fix the ghosting of retina sprites. they get divided and if there positions is odd the position will be not on a int. This will fix that
added always even positions to the smart-layout with an extra padding…
… of 2px
I like the thought behind this patch, but it needs the test cases updated before i accept it.
ahh, ok will do that when I got more time.. prob somewhere later this week.
Merge branch 'master' of https://github.com/chriseppstein/compass
smart layout spacing and positioning on even pixels
ok, took a while but I updated the test cases and altered the sprite generation a bit to have a better/good result.
I see that "rcov" fails in the 1.9+ builds.. as that needs to be converted into "simplecov" that is not part of this pull request.
variable width for row fitter. set to 800 to make the sprite-maps mor…
Merge branch 'master' of https://github.com/Compass/compass
I'm closing this PR because there's been too much change since it was initially submitted. Sorry, We're going to do better going forward. Hopefully, someone can resubmit the change against 1.0. Features should be submitted to the master branch, bug fixes to the stable branch.
@scottdavis has refactored sprites considerably, we need to rebase this work to take his recent changes (soon to land on master) into account.
Should be on top of the changes coming in #1771.