mirror of
https://github.com/photonstorm/phaser
synced 2024-11-22 04:33:31 +00:00
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:
parent
fde24247af
commit
77bbab31f1
1 changed files with 1 additions and 1 deletions
|
@ -164,7 +164,7 @@ var RenderTarget = new Class({
|
|||
|
||||
if (autoResize)
|
||||
{
|
||||
this.setAutoResize(true);
|
||||
this.renderer.on(Events.RESIZE, this.resize, this);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue