Skip to content

Disable Preserve Drawing Buffer in Production #119

@chase-manning

Description

@chase-manning

For Percy snapshots to work, the Pixi Application parameter preserveDrawingBuffer needs to be set to true.
However, setting this parameter to true slows down production.
Instead we should check if the application is running in the pipeline or in production, and conditionally set this parameter to true when in pipeline and false in production.

This can be found in Canvas.tsx as new PIXI.Application

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions