Skip to content

Commit

Permalink
Fix: initial seat positions
Browse files Browse the repository at this point in the history
  • Loading branch information
Akalanka47000 committed Aug 25, 2024
1 parent 202b53e commit 5941240
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions src/store/reducers/editor/seats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,37 +7,37 @@ export default () => [
...[...Array(10).keys()].map((p) => ({
id: uuidV4(),
x: getWorkspaceCenterX() - gap * (p + 1),
y: getWorkspaceHeight() * 0.42,
y: getWorkspaceHeight() * 0.48,
label: p + 1
})),
...[...Array(10).keys()].map((p) => ({
id: uuidV4(),
x: getWorkspaceCenterX() + gap * (p + 1),
y: getWorkspaceHeight() * 0.42,
y: getWorkspaceHeight() * 0.48,
label: p + 1
})),
...[...Array(7).keys()].map((p) => ({
id: uuidV4(),
x: getWorkspaceCenterX() - gap * (p + 1),
y: getWorkspaceHeight() * 0.52,
y: getWorkspaceHeight() * 0.58,
label: p + 1
})),
...[...Array(7).keys()].map((p) => ({
id: uuidV4(),
x: getWorkspaceCenterX() + gap * (p + 1),
y: getWorkspaceHeight() * 0.52,
y: getWorkspaceHeight() * 0.58,
label: p + 1
})),
...[...Array(5).keys()].map((p) => ({
id: uuidV4(),
x: getWorkspaceCenterX() - gap * (p + 1),
y: getWorkspaceHeight() * 0.62,
y: getWorkspaceHeight() * 0.68,
label: p + 1
})),
...[...Array(5).keys()].map((p) => ({
id: uuidV4(),
x: getWorkspaceCenterX() + gap * (p + 1),
y: getWorkspaceHeight() * 0.62,
y: getWorkspaceHeight() * 0.68,
label: p + 1
}))
];
2 changes: 1 addition & 1 deletion src/store/reducers/editor/shapes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default () => [
{
id: uuidV4(),
x: getWorkspaceCenterX() - 550,
y: getWorkspaceHeight() * 0.145,
y: getWorkspaceHeight() * 0.18,
width: 1100,
height: 100,
rx: 10,
Expand Down
2 changes: 1 addition & 1 deletion src/store/reducers/editor/text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default () => [
{
id: uuidV4(),
x: getWorkspaceCenterX() - 58,
y: getWorkspaceHeight() * 0.24,
y: getWorkspaceHeight() * 0.27,
label: "STAGE",
fontSize: 35,
fontWeight: 200,
Expand Down

0 comments on commit 5941240

Please sign in to comment.