diff --git a/app/src/pages/Editor/components/blocks/PictureSlot.tsx b/app/src/pages/Editor/components/blocks/PictureSlot.tsx index a1561f1..fc254f6 100644 --- a/app/src/pages/Editor/components/blocks/PictureSlot.tsx +++ b/app/src/pages/Editor/components/blocks/PictureSlot.tsx @@ -62,11 +62,15 @@ export const PictureSlot = memo(({ idRef, v, res, props }: PictureSlotProps) => imgOffsetY = frameHeight / 2 - imgHeight / 2; } + // const changedX = -pos[0] + (pos[0] > 0 ? frameWidth : -frameWidth); + // const changedX = -pos[0] - frameWidth; + const changedX = pos[0]; + return ( { /* Base color and border */} { /* Rendered image */} { image && { ) } - + { + !loading && ( + + ) + } {