From 1a8bd2e657a772bcce9d7b176f30b3ad8436122d Mon Sep 17 00:00:00 2001 From: Serhiy Mytrovtsiy Date: Wed, 8 Jan 2025 20:06:05 +0100 Subject: [PATCH] feat: added a title to the popup view to allow control of it via 3d party apps (#2295) --- Kit/module/popup.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kit/module/popup.swift b/Kit/module/popup.swift index 2f197865f5a..2acf8cc367c 100644 --- a/Kit/module/popup.swift +++ b/Kit/module/popup.swift @@ -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