Zoom problem

Hello
I’m having trouble with a configuration.
The code is:

var config = {
type: Phaser.AUTO,
width: 240,
height: 208,
zoom: 3,
pixelArt: true,
parent: “game-container”,
scene: {
preload: preload,
create: create } };

If I use the version 3.11.0 everything works OK.
But if I use any higher version, the zoom does not work.
Is this function not working anymore? Is there any substitute for him?

Hello @patrikroger

You are right, it has changed! Add the following line in addition and it will work:
render: { autoResize: false }

By the way: If you want to change pixelArt or antialias, you will have to add it into render too.
render: { pixelArt: true, antialias: false, autoResize: false }