Skip to content

Add willReadFrequently to canvas 2d contextΒ #301

@getify

Description

@getify

See this issue for further reference: nimiq/qr-scanner#236

Here, this line needs to change:

this._oContext = this._elCanvas.getContext("2d");

The getContext("2d") would change to getContext("2d",{ willReadFrequently: true }).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions