UI & fixes

This commit is contained in:
Ilya Laktyushin
2019-10-04 12:45:43 +03:00
parent a2fcff1b35
commit ba3f5e8f7e
10 changed files with 316 additions and 134 deletions

View File

@@ -597,7 +597,7 @@ final class ChatItemGalleryFooterContentNode: GalleryFooterContentNode, UIScroll
}
let scrubberFrame = CGRect(origin: CGPoint(x: leftInset, y: scrubberY), size: CGSize(width: width - leftInset - rightInset, height: 34.0))
scrubberView.updateLayout(size: size, leftInset: leftInset, rightInset: rightInset)
scrubberView.updateLayout(size: size, leftInset: leftInset, rightInset: rightInset, transition: .immediate)
transition.updateFrame(layer: scrubberView.layer, frame: scrubberFrame)
}
transition.updateAlpha(node: self.textNode, alpha: displayCaption ? 1.0 : 0.0)