The RenderTarget will now automatically listen for the Renderer resize event if autoResize is true. This fixes an issue with Bitmap Masks where they wouldn't resize if the renderer resized. Fix #6769

This commit is contained in:
Richard Davey 2024-07-15 18:34:22 +01:00
parent fde24247af
commit 77bbab31f1

View file

@ -164,7 +164,7 @@ var RenderTarget = new Class({
if (autoResize)
{
this.setAutoResize(true);
this.renderer.on(Events.RESIZE, this.resize, this);
}
else
{