fix: reposition player chips in Phase10 slot layouts
- Update chip coordinates for bottom, top, left, and right slots to improve visual alignment and prevent overlap with other UI elements.
This commit is contained in:
parent
fcfff62a15
commit
5b65134ecc
|
|
@ -70,7 +70,7 @@ function slotLayout(slot) {
|
||||||
laidAxis: 'x',
|
laidAxis: 'x',
|
||||||
portrait: { x: 120, y: 990, r: 56 },
|
portrait: { x: 120, y: 990, r: 56 },
|
||||||
nameLabel: { x: 120, y: 1056 },
|
nameLabel: { x: 120, y: 1056 },
|
||||||
chip: { x: 240, y: 990 },
|
chip: { x: 752, y: 870 },
|
||||||
rotateCards: 0,
|
rotateCards: 0,
|
||||||
};
|
};
|
||||||
case 'top':
|
case 'top':
|
||||||
|
|
@ -83,7 +83,7 @@ function slotLayout(slot) {
|
||||||
laidAxis: 'x',
|
laidAxis: 'x',
|
||||||
portrait: { x: 120, y: 70, r: 50 },
|
portrait: { x: 120, y: 70, r: 50 },
|
||||||
nameLabel: { x: 120, y: 134 },
|
nameLabel: { x: 120, y: 134 },
|
||||||
chip: { x: 240, y: 70 },
|
chip: { x: 752, y: 180 },
|
||||||
rotateCards: 180,
|
rotateCards: 180,
|
||||||
};
|
};
|
||||||
case 'left':
|
case 'left':
|
||||||
|
|
@ -96,7 +96,7 @@ function slotLayout(slot) {
|
||||||
laidAxis: 'y',
|
laidAxis: 'y',
|
||||||
portrait: { x: 100, y: 130, r: 50 },
|
portrait: { x: 100, y: 130, r: 50 },
|
||||||
nameLabel: { x: 100, y: 196 },
|
nameLabel: { x: 100, y: 196 },
|
||||||
chip: { x: 220, y: 130 },
|
chip: { x: 148, y: 468 },
|
||||||
rotateCards: 90,
|
rotateCards: 90,
|
||||||
};
|
};
|
||||||
case 'right':
|
case 'right':
|
||||||
|
|
@ -109,7 +109,7 @@ function slotLayout(slot) {
|
||||||
laidAxis: 'y',
|
laidAxis: 'y',
|
||||||
portrait: { x: 1820, y: 130, r: 50 },
|
portrait: { x: 1820, y: 130, r: 50 },
|
||||||
nameLabel: { x: 1820, y: 196 },
|
nameLabel: { x: 1820, y: 196 },
|
||||||
chip: { x: 1700, y: 130 },
|
chip: { x: 1492, y: 468 },
|
||||||
rotateCards: 270,
|
rotateCards: 270,
|
||||||
};
|
};
|
||||||
default:
|
default:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue