react-spritesheet icon indicating copy to clipboard operation
react-spritesheet copied to clipboard

Height and Width only increase image container

Open tomhalley opened this issue 6 years ago • 0 comments

When increasing the size of a Sprite through the props, it only increases the height and width of a container, but doesn't scale up the size of the background image, meaning a 20px icon on a spritesheet when set to height or width 30, will just showing additional parts of surrounding sprites.

Similarly, changing the sprite image size down to 10px will just show a portion of the sprite, not a small version of the sprite

tomhalley avatar May 10 '18 11:05 tomhalley