mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-05 14:02:48 +00:00
Temp
This commit is contained in:
parent
0d036df43c
commit
184570c8a6
@ -1021,16 +1021,13 @@ class ChatTextInputPanelNode: ChatInputPanelNode, ASEditableTextNodeDelegate {
|
|||||||
audioRecordingTimeNode.audioRecorder = recorder
|
audioRecordingTimeNode.audioRecorder = recorder
|
||||||
|
|
||||||
var animateDotAppearing = false
|
var animateDotAppearing = false
|
||||||
let audioRecordingDotNode: AnimationNode
|
|
||||||
if let currentAudioRecordingDotNode = self.audioRecordingDotNode {
|
self.audioRecordingDotNode?.removeFromSupernode()
|
||||||
audioRecordingDotNode = currentAudioRecordingDotNode
|
let audioRecordingDotNode = AnimationNode(animation: "voicebin")
|
||||||
} else {
|
|
||||||
audioRecordingDotNode = AnimationNode(animation: "voicebin")
|
|
||||||
self.audioRecordingDotNode = audioRecordingDotNode
|
self.audioRecordingDotNode = audioRecordingDotNode
|
||||||
self.addSubnode(audioRecordingDotNode)
|
self.addSubnode(audioRecordingDotNode)
|
||||||
|
|
||||||
animateDotAppearing = transition.isAnimated
|
animateDotAppearing = transition.isAnimated
|
||||||
}
|
|
||||||
|
|
||||||
audioRecordingDotNode.frame = CGRect(origin: CGPoint(x: leftInset + 2.0 - UIScreenPixel, y: panelHeight - 44 + 1), size: CGSize(width: 40.0, height: 40))
|
audioRecordingDotNode.frame = CGRect(origin: CGPoint(x: leftInset + 2.0 - UIScreenPixel, y: panelHeight - 44 + 1), size: CGSize(width: 40.0, height: 40))
|
||||||
if animateDotAppearing {
|
if animateDotAppearing {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user