Minor alignment correction.
This was SVN commit r3668.
This commit is contained in:
parent
be382223f8
commit
c29f4ca444
@ -225,7 +225,7 @@ function refreshResource (resourceName, resourceIndex)
|
||||
if (resourceIndex == 0)
|
||||
{
|
||||
// The first coordinate is in the exact centre of the screen.
|
||||
Crd[crdResult].coord[coordGroup].x = -Crd[crdResult].coord[coordGroup].width - 5;
|
||||
Crd[crdResult].coord[coordGroup].x = Math.round (-(Crd[crdResult].coord[coordGroup].width/2) - 5);
|
||||
}
|
||||
else
|
||||
{ // Resources other than the first one get stacked in sequence to the sides of it.
|
||||
|
@ -207,12 +207,12 @@ function calcCrdArray (rx, ry, x, y, width, height, rx2, ry2)
|
||||
else
|
||||
{
|
||||
// Use the standard "size" structure:
|
||||
// RX
|
||||
// RY
|
||||
// X1
|
||||
// X2
|
||||
// Y1
|
||||
// Y2
|
||||
// RX
|
||||
// RY
|
||||
// RX2
|
||||
// RY2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user