diff options
-rw-r--r-- | src/screens/profile/CaptionScreen.tsx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/screens/profile/CaptionScreen.tsx b/src/screens/profile/CaptionScreen.tsx index cffb7153..3d392361 100644 --- a/src/screens/profile/CaptionScreen.tsx +++ b/src/screens/profile/CaptionScreen.tsx @@ -210,17 +210,16 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => { partTypes={mentionPartTypes('blue')} /> {/* Draggables - Commented out for now */} - <Draggable + {/* <Draggable // ivan x={imageDimensions[0] / 2 - curStart[0] / 2 + offset[0]} y={offset[1] + imageDimensions[1] / 2 - curStart[1] / 2} - z={isOnTop(0) ? 999 : 0} + z={999} minX={offset[0]} minY={offset[1]} maxX={imageDimensions[0] + offset[0]} maxY={imageDimensions[1] + offset[1]} onDragStart={() => bringToFront(0)}> - {/* > */} <TaggDraggable taggedUser={taggList[0]} editingView={true} @@ -231,20 +230,19 @@ const CaptionScreen: React.FC<CaptionScreenProps> = ({route, navigation}) => { <Draggable x={imageDimensions[0] / 2 - curStart[0] / 2 + offset[0]} y={offset[1] + imageDimensions[1] / 2 - curStart[1] / 2} - z={isOnTop(0) ? 999 : 0} + z={0} minX={offset[0]} minY={offset[1]} maxX={imageDimensions[0] + offset[0]} maxY={imageDimensions[1] + offset[1]} onDragStart={() => bringToFront(1)}> - {/* onPressIn={() => console.log('bleh')}> */} <TaggDraggable taggedUser={taggList[1]} editingView={true} deleteFromList={() => console.log('Hello world')} setStart={setCurStart} /> - </Draggable> + </Draggable> */} </View> </KeyboardAvoidingView> </TouchableWithoutFeedback> |