Update CircleGridView.swift

This commit is contained in:
talksik
2021-12-25 16:57:14 -08:00
parent 96511991d9
commit ba065cf71d
@@ -101,9 +101,12 @@ struct CircleGridView: View {
) )
.id(friendId) // id for scrollviewreader .id(friendId) // id for scrollviewreader
.frame(height: Self.size) .frame(height: Self.size)
.onTapGesture { .simultaneousGesture(
self.handleTap(gridItemIndex: value, friendId: friendId) TapGesture()
}// TODO: maybe add simulataneous gesture or sequence? with the tap gesture? .onEnded{_ in
self.handleTap(gridItemIndex: value, friendId: friendId)
}
)
.gesture( .gesture(
LongPressGesture(minimumDuration: longPressMinDuration) LongPressGesture(minimumDuration: longPressMinDuration)
.onEnded {_ in // on activation of long press .onEnded {_ in // on activation of long press