Game-GUI icon indicating copy to clipboard operation
Game-GUI copied to clipboard

Problem with extend_rect

Open ppiecuch opened this issue 9 years ago • 0 comments

Hello - I have a problem with a code of extend_rect method, I think: it causes second and third Radio to be drawn very large. I have changed the code as below: void extend_rect(Rect &r) { r.sx = std::max(r.sx, /_x + */sx); r.sy = std::max(r.sy, /_y + */sy); } and it is now ok, but I wondering how does it worked before?

Regards Pawel

ppiecuch avatar May 24 '16 15:05 ppiecuch