Currently, the rect shifted methods offsets itself by the shifted amount on one axis, and by the rect point on the other. The expected behavior is that the rect is shifted on one axis, while the other one stays the same.
This change sets the offset of the other axis to 0, as well as changing the tests to better cover these edge cases.
Currently, the rect shifted methods offsets itself by the shifted amount on one axis, and by the rect point on the other. The expected behavior is that the rect is shifted on one axis, while the other one stays the same.
This change sets the offset of the other axis to 0, as well as changing the tests to better cover these edge cases.