Skip to content

Commit

Permalink
feat: added a title to the popup view to allow control of it via 3d p…
Browse files Browse the repository at this point in the history
…arty apps (#2295)
  • Loading branch information
exelban committed Jan 8, 2025
1 parent 847de8d commit 1a8bd2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Kit/module/popup.swift
Original file line number Diff line number Diff line change
@@ -52,6 +52,8 @@ public class PopupWindow: NSWindow, NSWindowDelegate {
visibilityCallback(state)
}

self.title = title
self.titleVisibility = .hidden
self.contentViewController = self.viewController
self.titlebarAppearsTransparent = true
self.animationBehavior = .default

0 comments on commit 1a8bd2e

Please sign in to comment.