Open Lvbnhbq1987 opened 5 years ago
Thank you! Can you make a pr for this so I can see the diffs?
@Lvbnhbq1987 what value does successionWidth
at getFrameCoords
map to?
Would it not be simpler to edit the source image to work around needing to have multiple images?
Hi, great component! Thank you for it very much! But if I have few different sources pasted in spritesheet component it works incorrect because it load and calculate data only in constructor. So I need to update and calc new params when source is changed. frameWidth and frameHeight pasted into getFrameCoords because it is don't updated in state before it is called. Maybe my changes will help someone or you can implement it into library.