Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix prepareContent() crash with negative origin
The prepareContent(in:) method could crash if the inset rectangle had a negative origin. This change ensures the inset rectangle's origin is never negative by clamping the x and y values to a minimum of 0.
- Loading branch information