From e83237e97fe397940529bbfcdd219b60d73782f6 Mon Sep 17 00:00:00 2001 From: Peter <> Date: Mon, 1 Jul 2019 23:31:56 +0300 Subject: [PATCH] Add tap gesture to animated sticker --- submodules/TelegramUI/TelegramUI/HorizontalStickerGridItem.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/submodules/TelegramUI/TelegramUI/HorizontalStickerGridItem.swift b/submodules/TelegramUI/TelegramUI/HorizontalStickerGridItem.swift index 50da73f4cd..e163136a15 100755 --- a/submodules/TelegramUI/TelegramUI/HorizontalStickerGridItem.swift +++ b/submodules/TelegramUI/TelegramUI/HorizontalStickerGridItem.swift @@ -99,6 +99,7 @@ final class HorizontalStickerGridItemNode: GridItemNode { animationNode = AnimatedStickerNode() animationNode.transform = self.imageNode.transform animationNode.visibility = self.isVisibleInGrid + animationNode.view.addGestureRecognizer(UITapGestureRecognizer(target: self, action: #selector(self.imageNodeTap(_:)))) self.addSubnode(animationNode) self.animationNode = animationNode }