Skip to content

Size calculated is slightly different with size rendered in the browser #66

@nguyencuongabcxyz

Description

@nguyencuongabcxyz

I have noticed a variance between the size calculated by the library and the actual size rendered in the browser. More precisely, the calculated size tends to be slightly larger than the size visually rendered. This difference may be attributed to rounding operations, and while it might be considered minor, it could potentially result in unforeseen outcomes for my specific use case.

The logged size in the console reads as follows: Width: 796.90625, Height: 797

Comparatively, the actual rendered size is:
image

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