Skip to content

Static image is blurry on high device pixel ratio screens. #158

Open
@KyleSmith0905

Description

@KyleSmith0905

On my computer the device pixel ratio is 1.25. I have a like button that animates on click. The stationary image is a bit blurry as it's trying to render a downscaled 24x24 image in a 32x32 grid of pixels.

This may be a helpful resource: https://developer.mozilla.org/en-US/docs/Web/API/Window/devicePixelRatio#correcting_resolution_in_a_canvas

I'm currently working on a fix for it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions