mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Adjust animation
This commit is contained in:
parent
0e1998df1e
commit
c74548e76b
@ -1398,7 +1398,10 @@ final class VideoChatParticipantsComponent: Component {
|
|||||||
environment: {},
|
environment: {},
|
||||||
containerSize: itemLayout.expandedGrid.itemContainerFrame().size
|
containerSize: itemLayout.expandedGrid.itemContainerFrame().size
|
||||||
)
|
)
|
||||||
let expandedThumbnailsFrame = CGRect(origin: CGPoint(x: 0.0, y: expandedGridItemContainerFrame.height - expandedThumbnailsSize.height), size: expandedThumbnailsSize)
|
var expandedThumbnailsFrame = CGRect(origin: CGPoint(x: 0.0, y: expandedGridItemContainerFrame.height - expandedThumbnailsSize.height), size: expandedThumbnailsSize)
|
||||||
|
if expandedVideoState.isUIHidden {
|
||||||
|
expandedThumbnailsFrame.origin.y += expandedThumbnailsSize.height
|
||||||
|
}
|
||||||
if let expandedThumbnailsComponentView = expandedThumbnailsView.view {
|
if let expandedThumbnailsComponentView = expandedThumbnailsView.view {
|
||||||
if expandedThumbnailsComponentView.superview == nil {
|
if expandedThumbnailsComponentView.superview == nil {
|
||||||
self.expandedGridItemContainer.addSubview(expandedThumbnailsComponentView)
|
self.expandedGridItemContainer.addSubview(expandedThumbnailsComponentView)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user