Various fixes

This commit is contained in:
Ilya Laktyushin
2020-10-19 15:28:40 +04:00
parent 97ec1faf13
commit 97303351ed
11 changed files with 91 additions and 31 deletions

View File

@@ -993,7 +993,7 @@ final class ChatMessageInteractiveFileNode: ASDisplayNode {
self.cutoutNode = cutoutNode
self.insertSubnode(cutoutNode, aboveSubnode: statusNode)
cutoutNode.frame = streamingCacheStatusFrame.insetBy(dx: -1.5, dy: -1.5)
cutoutNode.frame = streamingCacheStatusFrame.insetBy(dx: -(1.0 + UIScreenPixel), dy: -(1.0 + UIScreenPixel))
if animated {
cutoutNode.layer.animateScale(from: 0.001, to: 1.0, duration: 0.2)