aboutsummaryrefslogtreecommitdiff
path: root/src/screens/profile/CaptionScreen.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-07-15 16:59:26 -0400
committerGitHub <noreply@github.com>2021-07-15 16:59:26 -0400
commit1cb63f69e6ce049b18704bdd39d9abda6c351233 (patch)
treedea72db914ed01b68f2bebad3bd9242261c67ad8 /src/screens/profile/CaptionScreen.tsx
parent4fe0ec166f355eb4c0b279f8790c7e61ff6c1243 (diff)
parent6b65929115e031d0bdbb9d663f6a83e9a46a09e1 (diff)
Merge pull request #504 from grusuTagg/tma975-Tag-Position-Migration
[TMA-975] Tag Positions
Diffstat (limited to 'src/screens/profile/CaptionScreen.tsx')
-rw-r--r--src/screens/profile/CaptionScreen.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx
index 1232eb66..f0d24f96 100644
--- a/src/screens/profile/CaptionScreen.tsx
+++ b/src/screens/profile/CaptionScreen.tsx
@@ -156,9 +156,9 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => {
const formattedTags = () => {
return tags.map((tag) => ({
- x: Math.floor(tag.x),
- y: Math.floor(tag.y),
- z: Math.floor(tag.z),
+ x: tag.x,
+ y: tag.y,
+ z: tag.z,
user_id: tag.user.id,
}));
};