Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Text "contains" method is currently broken #687

Closed
@aeronth

Description

@aeronth

The code in the Text.contains method seem to have the logic flipped for the y component:

Currently in repository:
inside = (x >= l and x <= r and y >= t and y <= b)

Should be:
inside = (x >= l and x <= r and y <= t and y >= b)

Metadata

Metadata

Assignees

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