diff --git a/submodules/DrawingUI/Sources/DrawingScreen.swift b/submodules/DrawingUI/Sources/DrawingScreen.swift index bc9a13aac0..163617b6ec 100644 --- a/submodules/DrawingUI/Sources/DrawingScreen.swift +++ b/submodules/DrawingUI/Sources/DrawingScreen.swift @@ -1227,7 +1227,7 @@ private final class DrawingScreenComponent: CombinedComponent { case .filled: nextStyle = .semi case .semi: - nextStyle = .stroke + nextStyle = .regular case .stroke: nextStyle = .regular } @@ -3480,7 +3480,7 @@ public final class DrawingToolsInteraction { case .filled: nextStyle = .semi case .semi: - nextStyle = .stroke + nextStyle = .regular case .stroke: nextStyle = .regular } diff --git a/submodules/TelegramUI/Components/MessageInputPanelComponent/Sources/ContextResultPanelComponent.swift b/submodules/TelegramUI/Components/MessageInputPanelComponent/Sources/ContextResultPanelComponent.swift index 64300518a6..6a0facc439 100644 --- a/submodules/TelegramUI/Components/MessageInputPanelComponent/Sources/ContextResultPanelComponent.swift +++ b/submodules/TelegramUI/Components/MessageInputPanelComponent/Sources/ContextResultPanelComponent.swift @@ -322,10 +322,10 @@ final class ContextResultPanelComponent: Component { transition.setFrame(view: self.scrollView, frame: CGRect(origin: CGPoint(x: 0.0, y: 0.0), size: CGSize(width: availableSize.width, height: minimizedHeight))) - let visibleTopContentHeight = min(scrollContentSize.height, measureItemSize.height * 3.5 + 19.0) + let visibleTopContentHeight = min(scrollContentSize.height, measureItemSize.height * 3.5) let topInset = availableSize.height - visibleTopContentHeight - let scrollContentInsets = UIEdgeInsets(top: topInset, left: 0.0, bottom: 19.0, right: 0.0) + let scrollContentInsets = UIEdgeInsets(top: topInset, left: 0.0, bottom: 0.0, right: 0.0) let scrollIndicatorInsets = UIEdgeInsets(top: topInset + 17.0, left: 0.0, bottom: 19.0, right: 0.0) if self.scrollView.contentInset != scrollContentInsets { self.scrollView.contentInset = scrollContentInsets diff --git a/submodules/TelegramUI/Components/MessageInputPanelComponent/Sources/MessageInputPanelComponent.swift b/submodules/TelegramUI/Components/MessageInputPanelComponent/Sources/MessageInputPanelComponent.swift index d37f624d0a..96788cedbb 100644 --- a/submodules/TelegramUI/Components/MessageInputPanelComponent/Sources/MessageInputPanelComponent.swift +++ b/submodules/TelegramUI/Components/MessageInputPanelComponent/Sources/MessageInputPanelComponent.swift @@ -1449,7 +1449,7 @@ public final class MessageInputPanelComponent: Component { containerSize: CGSize(width: availableSize.width - panelLeftInset - panelRightInset, height: availablePanelHeight) ) - let panelFrame = CGRect(origin: CGPoint(x: insets.left, y: -panelSize.height + 33.0), size: panelSize) + let panelFrame = CGRect(origin: CGPoint(x: insets.left, y: -panelSize.height + 14.0), size: CGSize(width: panelSize.width, height: panelSize.height + 19.0)) if let panelView = panel.view as? ContextResultPanelComponent.View { if panelView.superview == nil { self.insertSubview(panelView, at: 0)