no message

This commit is contained in:
Peter
2016-10-11 22:25:54 +02:00
parent bcecb46e94
commit 702d19a07d
41 changed files with 968 additions and 195 deletions

View File

@@ -180,4 +180,9 @@ class ChatMessageTextBubbleContentNode: ChatMessageBubbleContentNode {
self.textNode.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.2)
self.statusNode.layer.animateAlpha(from: 0.0, to: 1.0, duration: 0.2)
}
override func animateRemoved(_ currentTimestamp: Double, duration: Double) {
self.textNode.layer.animateAlpha(from: 1.0, to: 0.0, duration: 0.2, removeOnCompletion: false)
self.statusNode.layer.animateAlpha(from: 1.0, to: 0.0, duration: 0.2, removeOnCompletion: false)
}
}