You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for the nice helper to deal with sprites in Rails!
I am using "spritely" to compile sprite images for normal screens and now I need to do the same for the retina screens. For that I need to set the background-size property to half the dimensions of the whole compiled image as demonistrated on tutsplus. Do you know how I could get the dimensions of the compiled image?
Thank you!
The text was updated successfully, but these errors were encountered:
Hi @kaukas! Sorry for slow response. Right now there is no built-in support for getting the compiled sprite's total dimensions in the released version of spritely. However, if you try out #21 and it works for you, I'll merge it and release v1.1.0.
Hello.
Thank you for the nice helper to deal with sprites in Rails!
I am using "spritely" to compile sprite images for normal screens and now I need to do the same for the retina screens. For that I need to set the
background-size
property to half the dimensions of the whole compiled image as demonistrated on tutsplus. Do you know how I could get the dimensions of the compiled image?Thank you!
The text was updated successfully, but these errors were encountered: