From 7a19749739e1868e76f62c445c407eaad3e594df Mon Sep 17 00:00:00 2001 From: Ali <> Date: Mon, 9 Dec 2019 20:56:20 +0400 Subject: [PATCH] Fix sticker pack inset --- submodules/StickerPackPreviewUI/Sources/StickerPackScreen.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/StickerPackPreviewUI/Sources/StickerPackScreen.swift b/submodules/StickerPackPreviewUI/Sources/StickerPackScreen.swift index a5bca48c06..57a823a83a 100644 --- a/submodules/StickerPackPreviewUI/Sources/StickerPackScreen.swift +++ b/submodules/StickerPackPreviewUI/Sources/StickerPackScreen.swift @@ -349,7 +349,7 @@ private final class StickerPackContainer: ASDisplayNode { let titleAreaInset: CGFloat = 50.0 var actionAreaHeight: CGFloat = 0.0 - actionAreaHeight += insets.bottom + actionAreaHeight += insets.bottom + 12.0 transition.updateFrame(node: self.buttonNode, frame: CGRect(origin: CGPoint(x: buttonSideInset, y: layout.size.height - actionAreaHeight - buttonHeight), size: CGSize(width: layout.size.width - buttonSideInset * 2.0, height: buttonHeight))) actionAreaHeight += buttonHeight