Skip to content

throws error when width or height is 0 #19

@neobdev

Description

@neobdev

just a little suggestion.

it throws error below
// Cannot read properties of undefined (reading '0')

const width = Math.max(Math.ceil(size[0]), 1);

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