Cherry-pick fixes

This commit is contained in:
Ilya Laktyushin
2022-10-05 17:48:27 +03:00
parent f3beb09f35
commit bca77cd025
65 changed files with 1537 additions and 288 deletions

View File

@@ -1,7 +1,7 @@
import Foundation
import UIKit
private final class ChildWindowHostView: UIView, WindowHost {
final class ChildWindowHostView: UIView, WindowHost {
var updateSize: ((CGSize) -> Void)?
var layoutSubviewsEvent: (() -> Void)?
var hitTestImpl: ((CGPoint, UIEvent?) -> UIView?)?
@@ -56,6 +56,7 @@ private final class ChildWindowHostView: UIView, WindowHost {
}
func presentInGlobalOverlay(_ controller: ContainableController) {
self.presentController?(controller, .root, true, {})
}
func addGlobalPortalHostView(sourceView: PortalSourceView) {