Is there an existing issue for this?
Is this issue related to iced?
What happened?
If the canvas top-left does not coincide with the window top-left then the check interprets the point as if it lived in the window frame of reference, not the canvas frame of reference.
SSCCE: See the Canvas Coordinate example in my iced playground.
What is the expected behavior?
The bounds.contains check should evaluate to true for all coordinates within the canvas.
Version
crates.io release
Operating System
Linux
Do you have any log output?
No response
Is there an existing issue for this?
Is this issue related to iced?
What happened?
If the canvas top-left does not coincide with the window top-left then the check interprets the point as if it lived in the window frame of reference, not the canvas frame of reference.
SSCCE: See the Canvas Coordinate example in my iced playground.
What is the expected behavior?
The bounds.contains check should evaluate to true for all coordinates within the canvas.
Version
crates.io release
Operating System
Linux
Do you have any log output?
No response