Fix layout follow-up spin loop (#1633)

This commit is contained in:
Austin Wang 2026-03-17 17:17:24 -07:00 committed by GitHub
parent 4162eccf66
commit a42e6663c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 138 additions and 45 deletions

View file

@ -7278,6 +7278,10 @@ final class GhosttySurfaceScrollView: NSView {
surfaceView.isVisibleInUI
}
var debugPortalActive: Bool {
isActive
}
var debugPortalFrameInWindow: CGRect {
guard window != nil else { return .zero }
return convert(bounds, to: nil)