Story folders

This commit is contained in:
Isaac
2025-07-18 16:10:54 +02:00
parent 817308f13e
commit a6544e5d57
17 changed files with 1222 additions and 63 deletions

View File

@@ -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)
}
})