Skip to content

'right' and 'bottom' issue in Phaser.Ellipse.prototype #1397

@hightopo

Description

@hightopo

https://github.com/photonstorm/phaser/blob/dev/src/geom/Ellipse.js#L196
this.width = this.x + value;
should be changed to:
this.width = value - this.x;

https://github.com/photonstorm/phaser/blob/dev/src/geom/Ellipse.js#L238
this.height = this.y + value;
should be changed to:
this.height = value - this.y;

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