поправка в SetPosition
This commit is contained in:
parent
9d348c5879
commit
8d4d56e692
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user