mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Emoji input improvements
This commit is contained in:
@@ -15,15 +15,14 @@ class ChatInputNode: ASDisplayNode {
|
||||
return nil
|
||||
}
|
||||
|
||||
var topBackgroundExtension: CGFloat = 41.0
|
||||
var topBackgroundExtension: CGFloat = 0.0
|
||||
var topBackgroundExtensionUpdated: ((ContainedViewLayoutTransition) -> Void)?
|
||||
|
||||
var hideInput: Bool = false
|
||||
var adjustLayoutForHiddenInput: Bool = false
|
||||
var hideInputUpdated: ((ContainedViewLayoutTransition) -> Void)?
|
||||
|
||||
var expansionFraction: CGFloat = 0.0
|
||||
var expansionFractionUpdated: ((ContainedViewLayoutTransition) -> Void)?
|
||||
var followsDefaultHeight: Bool = false
|
||||
|
||||
func updateLayout(width: CGFloat, leftInset: CGFloat, rightInset: CGFloat, bottomInset: CGFloat, standardInputHeight: CGFloat, inputHeight: CGFloat, maximumHeight: CGFloat, inputPanelHeight: CGFloat, transition: ContainedViewLayoutTransition, interfaceState: ChatPresentationInterfaceState, deviceMetrics: DeviceMetrics, isVisible: Bool, isExpanded: Bool) -> (CGFloat, CGFloat) {
|
||||
return (0.0, 0.0)
|
||||
|
||||
Reference in New Issue
Block a user