Various improvements

This commit is contained in:
Isaac
2024-04-29 18:59:13 +04:00
parent 483737a5c6
commit bb404dbbd3
6 changed files with 35 additions and 6 deletions

View File

@@ -123,7 +123,7 @@ public final class AnimatedTextComponent: Component {
color: component.color
)),
environment: {},
containerSize: CGSize(width: 100.0, height: 100.0)
containerSize: CGSize(width: availableSize.width, height: 100.0)
)
let characterFrame = CGRect(origin: CGPoint(x: size.width, y: 0.0), size: characterSize)
if let characterComponentView = characterView.view {