From 6fd5a5516595d1731af35e1cef9607ce7b32e8f6 Mon Sep 17 00:00:00 2001 From: Ivan Chen Date: Tue, 25 May 2021 18:55:42 -0400 Subject: More investigation with draggable, Progress --- src/screens/moments/TagFriendsScreen.tsx | 5 +++-- src/screens/profile/CaptionScreen.tsx | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'src/screens') diff --git a/src/screens/moments/TagFriendsScreen.tsx b/src/screens/moments/TagFriendsScreen.tsx index b2a8586a..b9b35742 100644 --- a/src/screens/moments/TagFriendsScreen.tsx +++ b/src/screens/moments/TagFriendsScreen.tsx @@ -97,8 +97,9 @@ const TagFriendsScreen: React.FC = ({route}) => { editing={true} tags={taggedUsers.map((user) => ({ id: '', - x: 0, - y: 0, + x: 50, + y: 50, + z: 1, user, }))} imageRef={imageRef} diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index e2fce032..69f4b3d9 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -116,8 +116,8 @@ const CaptionScreen: React.FC = ({route, navigation}) => { const momentTagResponse = await postMomentTags( momentResponse.moment_id, taggedUsers.map((u, index) => ({ - x: index * 50 - 150, - y: index * 50 - 150, + x: index * 50, + y: index * 50, z: 1, user_id: u.id, })), -- cgit v1.2.3-70-g09d2