iPad trackpad and key shortcuts improvements

This commit is contained in:
Ilya Laktyushin
2022-07-30 03:51:46 +03:00
parent 6c4a730b42
commit 5b8961d02a
46 changed files with 1035 additions and 83 deletions

View File

@@ -1325,8 +1325,9 @@ public final class SparseItemGrid: ASDisplayNode {
}
}
public init(theme: PresentationTheme) {
public init(theme: PresentationTheme, initialZoomLevel: ZoomLevel? = nil) {
self.theme = theme
self.initialZoomLevel = initialZoomLevel
self.scrollingArea = SparseItemGridScrollingArea()