aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Kim <brian@tagg.id>2021-05-20 17:15:09 -0700
committerBrian Kim <brian@tagg.id>2021-05-20 17:15:09 -0700
commit55dd8ea512f7d7acda7189bf3a7e1a42c5b88e79 (patch)
tree9c4ed3fc0c33392981feb22b06e22a25dc81bd7e
parentcd25cc9bd421f142e84741a03c1c1e4da47a094c (diff)
Comment out draggables
-rw-r--r--src/screens/profile/CaptionScreen.tsx10
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>