mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 14:45:21 +00:00
UI improvements
This commit is contained in:
@@ -1344,6 +1344,12 @@ public final class SparseItemGrid: ASDisplayNode {
|
||||
self.pinchRecognizer?.isEnabled = self.pinchEnabled
|
||||
}
|
||||
}
|
||||
|
||||
public var isScrollEnabled: Bool = true {
|
||||
didSet {
|
||||
self.currentViewport?.scrollView.isScrollEnabled = self.isScrollEnabled
|
||||
}
|
||||
}
|
||||
|
||||
public init(theme: PresentationTheme, initialZoomLevel: ZoomLevel? = nil) {
|
||||
self.theme = theme
|
||||
|
||||
Reference in New Issue
Block a user