rectangle: Correct assignment of right within SetExtents

Previously left was being assigned twice in a row.
This commit is contained in:
Lioncash 2020-06-23 05:50:41 -04:00
parent 840a80670f
commit e064196f25
1 changed files with 1 additions and 1 deletions

View File

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