mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-21 19:49:45 +00:00
Merge remote-tracking branch 'refs/remotes/origin/master'
This commit is contained in:
@@ -8,7 +8,7 @@ import GZip
|
||||
import AppBundle
|
||||
import LegacyComponents
|
||||
|
||||
private let sceneVersion: Int = 4
|
||||
private let sceneVersion: Int = 6
|
||||
|
||||
private func deg2rad(_ number: Float) -> Float {
|
||||
return number * .pi / 180
|
||||
@@ -411,6 +411,10 @@ class PremiumStarComponent: Component {
|
||||
return
|
||||
}
|
||||
|
||||
if #available(iOS 17.0, *), let material = node.geometry?.materials.first {
|
||||
material.metalness.intensity = 0.2
|
||||
}
|
||||
|
||||
let animation = CABasicAnimation(keyPath: "contentsTransform")
|
||||
animation.fillMode = .forwards
|
||||
animation.fromValue = NSValue(scnMatrix4: initial)
|
||||
|
||||
Reference in New Issue
Block a user