mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-02 00:17:02 +00:00
Voice Chat UI fixes
This commit is contained in:
parent
d91ec1bac7
commit
e9ac972ee4
@ -1447,13 +1447,14 @@ public final class VoiceChatController: ViewController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let listMaxY = listTopInset + listSize.height
|
let listMaxY = listTopInset + listSize.height
|
||||||
if bottomEdge.isZero {
|
if bottomEdge.isZero {
|
||||||
bottomEdge = listMaxY
|
bottomEdge = listMaxY
|
||||||
}
|
}
|
||||||
|
|
||||||
var bottomOffset: CGFloat = 0.0
|
var bottomOffset: CGFloat = 0.0
|
||||||
if bottomEdge < listMaxY {
|
if bottomEdge < listMaxY && (self.panGestureArguments != nil || self.isExpanded) {
|
||||||
bottomOffset = bottomEdge - listMaxY
|
bottomOffset = bottomEdge - listMaxY
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user