Merge pull request #561 from lioncash/rectangle

rectangle: Correct assignment of right within SetExtents
This commit is contained in:
Connor McLaughlin 2020-06-23 19:56:16 +10:00 committed by GitHub
commit e228588823
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,7 +41,7 @@ struct Rectangle
{
left = x;
top = y;
left = x + width;
right = x + width;
bottom = y + height;
}