We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9633ed2 commit 822c5b8Copy full SHA for 822c5b8
src/SVGSkin.js
@@ -309,6 +309,9 @@ class SVGSkin extends Skin {
309
310
this.resetMIPs();
311
this._svgImageLoaded = true;
312
+ // While we're setting the size and rotation center before the image is loaded, this doesn't cause the skin
313
+ // to appear in the wrong place/with the wrong size for a few frames while the new image is loading, because
314
+ // we don't emit this event, telling drawables using this skin to update, until the image is loaded.
315
this.emit(Skin.Events.WasAltered);
316
};
317
0 commit comments