Skip to content

maybe there is an issue in function hasAllSeedsInside if it is not a same width rectangle #2

Description

@Sieyalixnet

dependence:
"natninter": "^0.1.3"

function hasAllSeedsInside() { var size = this._output; return this._seeds.every(function (s) { return s.x >= 0 && s.y >= 0 && s.x < size.width && s.y < size.width; }); }

x and y are ALL compared to the size.width. But setOutputSize sets this._output.width and this._output.height.
The y should be compared to size.height instead?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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