diff options
author | Brian Kim <brian@tagg.id> | 2021-07-08 17:06:22 -0400 |
---|---|---|
committer | Brian Kim <brian@tagg.id> | 2021-07-08 17:06:22 -0400 |
commit | 9acc152bb1aa7dabdd846ec7fb9a508ace41c9ce (patch) | |
tree | 9b572dbfccc781da4a3e0b7fab9cff53383f3253 /src/components/common | |
parent | dd6813e7b662a1c2d7beaba982f8081de0e74f0f (diff) |
Fix lint
Diffstat (limited to 'src/components/common')
-rw-r--r-- | src/components/common/MomentTags.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/common/MomentTags.tsx b/src/components/common/MomentTags.tsx index 62b551f0..6ea76508 100644 --- a/src/components/common/MomentTags.tsx +++ b/src/components/common/MomentTags.tsx @@ -153,10 +153,10 @@ const MomentTags: React.FC<MomentTagsProps> = ({ x={(imageDimensions[0] * tag.x) / 100 + offset[0]} y={(imageDimensions[1] * tag.y) / 100 + offset[1]} z={tag.z} - minX={offset[0] + minXBoundary} - minY={offset[1] + minYBoundary} - maxX={imageDimensions[0] + offset[0] - maxXBoundary} - maxY={imageDimensions[1] + offset[1] - maxYBoundary} + minX={offset[0] + boundariesList[0]} + minY={offset[1] + boundariesList[2]} + maxX={imageDimensions[0] + offset[0] - boundariesList[1]} + maxY={imageDimensions[1] + offset[1] - boundariesList[3]} disabled={true}> <TaggDraggable draggableRef={draggableRefs[index]} |