-
- Downloads
Fix sprite lib animation: move load into LibraryItem
The `LibraryItem` component has been split into a container, responsible for handling interaction with the storage module, and a component, responsible for presentation. The component now always takes an `iconURI` and the logic to load an icon from storage has been moved from `Library` into `LibraryItem`. TODO: move animation logic from `SpriteLibrary` into `LibraryItem`. This should simplify the code quite a bit and might also improve performance.
Showing
- src/components/library-item/library-item.jsx 7 additions, 17 deletionssrc/components/library-item/library-item.jsx
- src/components/library/library.jsx 24 additions, 54 deletionssrc/components/library/library.jsx
- src/containers/library-item.jsx 74 additions, 0 deletionssrc/containers/library-item.jsx
Loading
Please register or sign in to comment