We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f9b2f2 + d45c014 commit 38d563eCopy full SHA for 38d563e
Demo/Demo/WindowController.swift
@@ -73,7 +73,7 @@ class WindowController: NSWindowController {
73
private var titlebarView: NSView? {
74
if let themeFrame = self.window?.contentView?.superview {
75
for subview in themeFrame.subviews where subview.className == "NSTitlebarContainerView" {
76
- return subview.subviews.first
+ return subview.subviews.first { $0.className == "NSTitlebarView" }
77
}
78
79
return nil
0 commit comments