Why won't my image draw to canvas unless there is an instance of the image in the html?

后端 未结 0 629
有刺的猬
有刺的猬 2020-12-30 01:44

I have a canvas element, context 2d, and a list of image sources I want to be able to switch between. Currently, the only image that draws is the image that is already loade

相关标签:
回答
  • 消灭零回复
提交回复
热议问题