Retina-Sprites-for-Compass icon indicating copy to clipboard operation
Retina-Sprites-for-Compass copied to clipboard

Does 'Retina Sprites' support $offset-x, $offset-y

Open BenBish opened this issue 11 years ago • 5 comments

For example @include retina-sprite(imageName, $offset-x: 15px, $offset-y: 20px);

I can't seem to make this work.

BenBish avatar Jan 08 '14 14:01 BenBish

Looking at the code, is it to do with the $pad?

BenBish avatar Jan 08 '14 15:01 BenBish

Hi @BenBish , i'm not sure offhand. I'm really swamped at the moment... working 90hrs a week. I can look into this next weekend if you're still having issues with it. It's been so long since I looked into how compass works on the inside.

Have you tried the 2.0 branch? I haven't had a chance to use it yet (looking to heavily test & merge next weekend) but @novascreen did an awesome job at refactoring it. It looks much cleaner than the release on master.

AdamBrodzinski avatar Jan 13 '14 07:01 AdamBrodzinski

90 hr weeks? You're forgiven for not knowing!

No worries, there s no rush, I found an alternative solution that, while not as simple as yours, it does the job.

Happy to help where I can if you need anything testing!

BenBish avatar Jan 13 '14 21:01 BenBish

Yea, it's pretty intense :smiley:

Happy to help where I can if you need anything testing!

Yea if you've tried out the 2.0 branch any feedback would be great! I quickly tried it but haven't used it in an app yet (i'm mostly focusing on backend and Meteor stuff at the moment).

AdamBrodzinski avatar Jan 13 '14 23:01 AdamBrodzinski

if there are any questions related to the 2.0 branch i'm happy to help out. i've been using it on several projects but lately i switched to using SVGs with Grunticon (generates fallbacks for IE8 and everything in case you want to have a look at that)

novascreen avatar Jan 14 '14 18:01 novascreen