mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Update story reactions [skip ci]
This commit is contained in:
@@ -80,7 +80,13 @@ public final class DrawingStickerEntity: DrawingEntity, Codable {
|
||||
|
||||
public var referenceDrawingSize: CGSize
|
||||
public var position: CGPoint
|
||||
public var scale: CGFloat
|
||||
public var scale: CGFloat {
|
||||
didSet {
|
||||
if case let .file(_, type) = self.content, case .reaction = type {
|
||||
self.scale = max(0.75, min(2.0, self.scale))
|
||||
}
|
||||
}
|
||||
}
|
||||
public var rotation: CGFloat
|
||||
public var mirrored: Bool
|
||||
|
||||
|
||||
Reference in New Issue
Block a user