macOS: move hoverUrl to OSSurfaceView

This commit is contained in:
Lukas
2026-04-12 11:59:51 +02:00
parent 3936069297
commit 619e12dc75
3 changed files with 3 additions and 6 deletions

View File

@@ -25,6 +25,9 @@ extension Ghostty {
// Any error while initializing the surface.
@Published var error: Error?
// The hovered URL string
@Published var hoverUrl: String?
init(id: UUID?, frame: CGRect) {
self.id = id ?? UUID()
super.init(frame: frame)

View File

@@ -21,9 +21,6 @@ extension Ghostty {
}
}
// The hovered URL string
@Published var hoverUrl: String?
// The progress report (if any)
@Published var progressReport: Action.ProgressReport? {
didSet {

View File

@@ -9,9 +9,6 @@ extension Ghostty {
// to the app level and it is set from there.
@Published var title: String = "👻"
// The hovered URL
@Published var hoverUrl: String?
// The progress report (if any)
@Published var progressReport: Action.ProgressReport?