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