mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Various fixes
This commit is contained in:
parent
0b781d977e
commit
37d6914a70
1 changed files with 4 additions and 4 deletions
|
|
@ -133,9 +133,9 @@ private class ReactionCarouselNode: ASDisplayNode, UIScrollViewDelegate {
|
|||
}
|
||||
}
|
||||
|
||||
for reaction in reactions {
|
||||
sortedReactions.append(reaction)
|
||||
}
|
||||
// for reaction in reactions {
|
||||
// sortedReactions.append(reaction)
|
||||
// }
|
||||
|
||||
self.reactions = sortedReactions
|
||||
|
||||
|
|
@ -542,7 +542,7 @@ private class ReactionCarouselNode: ASDisplayNode, UIScrollViewDelegate {
|
|||
let distance = abs(relativeAngle) / CGFloat.pi
|
||||
|
||||
var updatedAngle = angle
|
||||
updatedAngle += 10 * cos(updatedAngle)
|
||||
// updatedAngle += 10 * cos(updatedAngle)
|
||||
|
||||
let point = CGPoint(
|
||||
x: cos(updatedAngle),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue