RadioPeirasmos / spriteme

Automatically exported from code.google.com/p/spriteme
0 stars 0 forks source link

auto-resize from drag-and-drop #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Right now, SpriteMe has some cool logic that automatically resizes
repeating images to promote spriting. For example, if you have two repeat-x
bg images, one with width 2 and another with width 5, SpriteMe will combine
those in a sprite with width 10. To do this, it makes the first bg image 5
times wider, and the second image 2 times wider.

However, this logic is applied during the grouping pass. If you manually
drag-and-drop the 5px wide image to group it with the 2px wide one, it
doesn't do the resize. 

Original issue reported on code.google.com by stevesou...@gmail.com on 1 Sep 2009 at 5:40