Deactivate accessibility in the editor too (#5750)

Do not show in changelog
This commit is contained in:
Clément Pasteau
2023-10-10 17:19:32 +02:00
committed by GitHub
parent 7ed1eee8f9
commit 2b0969600e

View File

@@ -216,6 +216,11 @@ export default class InstancesEditor extends Component<Props> {
gameCanvas = this.pixiRenderer.view;
}
// Deactivating accessibility support in PixiJS renderer, as we want to be in control of this.
// See https://github.com/pixijs/pixijs/issues/5111#issuecomment-420047824
this.pixiRenderer.plugins.accessibility.destroy();
delete this.pixiRenderer.plugins.accessibility;
// Add the renderer view element to the DOM
canvasArea.appendChild(gameCanvas);