-
- Downloads
Make sprite selector item absolutely position images to prevent layouts
On some projects, the sprite image changes frequently, which can cause global layouts and paints if we arent careful. Use the same absolute positioning strategy from the sprite library animations to contain layouts to the sprite image itself
Showing
- src/components/asset-panel/selector.css 1 addition, 1 deletionsrc/components/asset-panel/selector.css
- src/components/backpack/backpack.css 10 additions, 2 deletionssrc/components/backpack/backpack.css
- src/components/sprite-selector-item/sprite-selector-item.css 17 additions, 1 deletionsrc/components/sprite-selector-item/sprite-selector-item.css
- src/components/sprite-selector-item/sprite-selector-item.jsx 9 additions, 5 deletionssrc/components/sprite-selector-item/sprite-selector-item.jsx
Loading
Please register or sign in to comment