Skip to content

getWidth()/getHeight() incorrect value or rounding error #100

Closed
@john-kelly

Description

@john-kelly

Describe the bug
getWidth()/getHeight() doesnt produce correct value in some cases.

To Reproduce
https://codehs.com/sandbox/andy/genuary-18-1

Expected behavior
Should not error.

Screenshots
image

Desktop (please complete the following information):
Chrome Version 96.0.4664.110 (Official Build) (arm64)

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