поправка в SetPosition

This commit is contained in:
tyxz0 2024-02-19 09:23:43 +04:00
parent 9d348c5879
commit 8d4d56e692

View File

@ -65,9 +65,12 @@ public class DrawingDoubleDeckerBus
return; return;
} }
if (x < 0 || y < 0) if (x < 0)
{ {
x = -x; x = -x;
}
if (y < 0)
{
y = -y; y = -y;
} }