| Issue 50: | Only sprites if elements are visible | |
| 3 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. Go to http://svg-edit.googlecode.com/svn-history/r646/trunk/editor/svg-editor.html 2. Click the SpriteMe bookmarklet. What is the expected output? What do you see instead? SpriteMe should offer to sprite the align buttons. But because these elements are not visible, SpriteMe does not suggest that. However, if you do the following: 1. Go to http://svg-edit.googlecode.com/svn-history/r646/trunk/editor/svg-editor.html 2. Draw two ellipses 3. Drag-Select both ellipse 4. Click the SpriteMe bookmarklet SpriteMe will offer to generate a sprite for the align images. SpriteMe should analyze all images, even if the images are not displayed.
Sep 16, 2009
#1
damianha...@gmail.com
Sep 16, 2009
I see now why this happens: https://code.google.com/p/spriteme/source/browse/trunk/spriteme.js#1459 https://code.google.com/p/spriteme/source/browse/trunk/spriteme.js#1367 Seems like you're using the element's width/height to determine the image dimensions, which makes sense.
Jul 12, 2010
I'm assuming this is the same issue as dynamic css images (hover for example) not showing? IMHO, this is critical to being useful. |