You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Grid object lineWidth only works on Phaser.Canvas.
Expected behaviour: Both modes must show the same result.
Example Test Code
classMainSceneextendsPhaser.Scene{constructor(){super({key: "MainScene"});}create(){constgrid=this.add.grid(200,200,200,200,40,40,0xff00ff,0.2,0xff0000);grid.lineWidth=10;// Only works on CANVAS}}constgame=newPhaser.Game({type: Phaser.WEBGL,// Phaser.CANVASwidth: 800,height: 800,backgroundColor: '#ffffff',scale: {mode: Phaser.Scale.FIT,autoCenter: Phaser.Scale.CENTER_BOTH},scene: [MainScene]})