mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Added galleries for web search results
This commit is contained in:
@@ -221,7 +221,7 @@ class ChatMessageBubbleItemNode: ChatMessageItemView {
|
||||
return .waitForSingleTap
|
||||
}
|
||||
for contentNode in strongSelf.contentNodes {
|
||||
let tapAction = contentNode.tapActionAtPoint(CGPoint(x: point.x - contentNode.frame.minX, y: point.y - contentNode.frame.minY))
|
||||
let tapAction = contentNode.tapActionAtPoint(CGPoint(x: point.x - contentNode.frame.minX, y: point.y - contentNode.frame.minY), gesture: .tap)
|
||||
switch tapAction {
|
||||
case .none:
|
||||
break
|
||||
@@ -1570,7 +1570,7 @@ class ChatMessageBubbleItemNode: ChatMessageItemView {
|
||||
}
|
||||
var foundTapAction = false
|
||||
loop: for contentNode in self.contentNodes {
|
||||
let tapAction = contentNode.tapActionAtPoint(CGPoint(x: location.x - contentNode.frame.minX, y: location.y - contentNode.frame.minY))
|
||||
let tapAction = contentNode.tapActionAtPoint(CGPoint(x: location.x - contentNode.frame.minX, y: location.y - contentNode.frame.minY), gesture: gesture)
|
||||
switch tapAction {
|
||||
case .none, .ignore:
|
||||
break
|
||||
@@ -1629,7 +1629,7 @@ class ChatMessageBubbleItemNode: ChatMessageItemView {
|
||||
selectAll = true
|
||||
}
|
||||
tapMessage = contentNode.item?.message
|
||||
let tapAction = contentNode.tapActionAtPoint(CGPoint(x: location.x - contentNode.frame.minX, y: location.y - contentNode.frame.minY))
|
||||
let tapAction = contentNode.tapActionAtPoint(CGPoint(x: location.x - contentNode.frame.minX, y: location.y - contentNode.frame.minY), gesture: gesture)
|
||||
switch tapAction {
|
||||
case .none, .ignore:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user