-
+
{slotsButtonsPos.map(
({ top, left, height, width, id, hidden, buttonOffset }) => (
onSelectRole((BodyPart as any)[id])}
style={{
top: top + height / 2 - dotsSize / 2 + buttonOffset.top,
@@ -222,7 +226,7 @@ export function BodyInteractions({
{highlightedRoles.includes((BodyPart as any)[id]) && (
diff --git a/gui/src/components/commons/PersonFrontIcon.tsx b/gui/src/components/commons/PersonFrontIcon.tsx
index e489f5e0d..d47871e59 100644
--- a/gui/src/components/commons/PersonFrontIcon.tsx
+++ b/gui/src/components/commons/PersonFrontIcon.tsx
@@ -22,8 +22,10 @@ export const SIDES = [
];
export function PersonFrontIcon({
+ width,
mirror = true,
}: {
+ width?: number;
mirror?: boolean;
}) {
const CIRCLE_RADIUS = 0.0001;
@@ -32,152 +34,152 @@ export function PersonFrontIcon({
return (