Skip to content

Commit 5941240

Browse files
committed
Fix: initial seat positions
1 parent 202b53e commit 5941240

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

src/store/reducers/editor/seats.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,37 +7,37 @@ export default () => [
77
...[...Array(10).keys()].map((p) => ({
88
id: uuidV4(),
99
x: getWorkspaceCenterX() - gap * (p + 1),
10-
y: getWorkspaceHeight() * 0.42,
10+
y: getWorkspaceHeight() * 0.48,
1111
label: p + 1
1212
})),
1313
...[...Array(10).keys()].map((p) => ({
1414
id: uuidV4(),
1515
x: getWorkspaceCenterX() + gap * (p + 1),
16-
y: getWorkspaceHeight() * 0.42,
16+
y: getWorkspaceHeight() * 0.48,
1717
label: p + 1
1818
})),
1919
...[...Array(7).keys()].map((p) => ({
2020
id: uuidV4(),
2121
x: getWorkspaceCenterX() - gap * (p + 1),
22-
y: getWorkspaceHeight() * 0.52,
22+
y: getWorkspaceHeight() * 0.58,
2323
label: p + 1
2424
})),
2525
...[...Array(7).keys()].map((p) => ({
2626
id: uuidV4(),
2727
x: getWorkspaceCenterX() + gap * (p + 1),
28-
y: getWorkspaceHeight() * 0.52,
28+
y: getWorkspaceHeight() * 0.58,
2929
label: p + 1
3030
})),
3131
...[...Array(5).keys()].map((p) => ({
3232
id: uuidV4(),
3333
x: getWorkspaceCenterX() - gap * (p + 1),
34-
y: getWorkspaceHeight() * 0.62,
34+
y: getWorkspaceHeight() * 0.68,
3535
label: p + 1
3636
})),
3737
...[...Array(5).keys()].map((p) => ({
3838
id: uuidV4(),
3939
x: getWorkspaceCenterX() + gap * (p + 1),
40-
y: getWorkspaceHeight() * 0.62,
40+
y: getWorkspaceHeight() * 0.68,
4141
label: p + 1
4242
}))
4343
];

src/store/reducers/editor/shapes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default () => [
55
{
66
id: uuidV4(),
77
x: getWorkspaceCenterX() - 550,
8-
y: getWorkspaceHeight() * 0.145,
8+
y: getWorkspaceHeight() * 0.18,
99
width: 1100,
1010
height: 100,
1111
rx: 10,

src/store/reducers/editor/text.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export default () => [
55
{
66
id: uuidV4(),
77
x: getWorkspaceCenterX() - 58,
8-
y: getWorkspaceHeight() * 0.24,
8+
y: getWorkspaceHeight() * 0.27,
99
label: "STAGE",
1010
fontSize: 35,
1111
fontWeight: 200,

0 commit comments

Comments
 (0)