mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Update API [skip ci]
This commit is contained in:
@@ -600,7 +600,7 @@ private final class TooltipScreenNode: ViewControllerTracingNode {
|
||||
}
|
||||
}
|
||||
|
||||
let textSize: CGSize
|
||||
var textSize: CGSize
|
||||
|
||||
var isTextWithEntities = false
|
||||
switch self.text {
|
||||
@@ -630,6 +630,9 @@ private final class TooltipScreenNode: ViewControllerTracingNode {
|
||||
environment: {},
|
||||
containerSize: CGSize(width: containerWidth - contentInset * 2.0 - animationSize.width - animationSpacing - buttonInset, height: 1000000.0)
|
||||
)
|
||||
if case let .customBlur(_, inset) = self.tooltipStyle, inset < 0.0 {
|
||||
textSize.height -= 3.0
|
||||
}
|
||||
} else {
|
||||
textSize = self.textView.update(
|
||||
transition: .immediate,
|
||||
|
||||
Reference in New Issue
Block a user