mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Story folders
This commit is contained in:
@@ -654,13 +654,16 @@ public final class ContextControllerActionsListActionItemNode: HighlightTracking
|
||||
}
|
||||
|
||||
if let additionalIconSize {
|
||||
let iconFrame = CGRect(
|
||||
var iconFrame = CGRect(
|
||||
origin: CGPoint(
|
||||
x: 10.0,
|
||||
y: floor((size.height - additionalIconSize.height) / 2.0)
|
||||
),
|
||||
size: additionalIconSize
|
||||
)
|
||||
if self.item.iconPosition == .left {
|
||||
iconFrame.origin.x = size.width - additionalIconSize.width - 10.0
|
||||
}
|
||||
transition.updateFrame(node: self.additionalIconNode, frame: iconFrame, beginWithCurrentState: true)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user