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

View File

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