|
@@ -129,7 +129,7 @@ class KMOpenFileGuideProperty: NSView, NibLoadable {
|
|
|
self.shadowView.layer?.shadowRadius = 3.0
|
|
|
let shadowPath = NSBezierPath(rect: self.shadowView.bounds)
|
|
|
if #available(macOS 14.0, *) {
|
|
|
- self.shadowView.layer?.shadowPath = shadowPath.cgPath
|
|
|
+ self.shadowView.layer?.shadowPath = shadowPath.kmCGPath()
|
|
|
}
|
|
|
|
|
|
DistributedNotificationCenter.default().addObserver(self, selector: #selector(themeChange), name: NSNotification.Name(rawValue: "AppleInterfaceThemeChangedNotification"), object: nil)
|