rectangle: Correct assignment of right within SetExtents
Previously left was being assigned twice in a row.
This commit is contained in:
parent
840a80670f
commit
e064196f25
|
@ -41,7 +41,7 @@ struct Rectangle
|
|||
{
|
||||
left = x;
|
||||
top = y;
|
||||
left = x + width;
|
||||
right = x + width;
|
||||
bottom = y + height;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue