Skip to content
This repository was archived by the owner on Jan 5, 2021. It is now read-only.
This repository was archived by the owner on Jan 5, 2021. It is now read-only.

Image padding not working consistently #18

Description

@cfloisand

Padding an image does not work correctly if specifying a subset of options from left, right, top, bottom.

e.g.
image.pad({left: 20, top: 20, color: "#F00"});
results in:
lefttoppad

image.pad({top: 20, color: "#F00"});
results in:
toppad

image.pad({right: 20, bottom: 20, color: "#F00"});
results in:
rightbottoompad

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