Fix backgroundAlpha restoration

This commit is contained in:
1024jp 2021-09-23 23:46:32 +09:00
parent d646245675
commit d8ebc04be2

View File

@ -117,7 +117,7 @@ final class DocumentWindow: NSWindow {
super.encodeRestorableState(with: coder)
coder.encode(self.backgroundAlpha, forKey: #keyPath(backgroundAlpha))
coder.encode(Double(self.backgroundAlpha), forKey: #keyPath(backgroundAlpha))
}