Commit 0d7d828
authored
Make Texture.add() firstFrame check more explicit
Fixes issue phaserjs#4088 where a SpriteSheet created from a trimmed texture atlas frame returns the second frame when the first frame is requested.1 parent 2a1ea30 commit 0d7d828
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
0 commit comments