Merge pull request #436 from timothyqiu/toast

Fixes #348 Prevent cascading toast window
This commit is contained in:
Qiu Yuzhou
2017-08-25 22:52:43 +08:00
committed by GitHub

View File

@ -30,6 +30,8 @@ class ToastWindowController: NSWindowController {
override func windowDidLoad() { override func windowDidLoad() {
super.windowDidLoad() super.windowDidLoad()
self.shouldCascadeWindows = false
// Implement this method to handle any initialization after your window controller's window has been loaded from its nib file. // Implement this method to handle any initialization after your window controller's window has been loaded from its nib file.
if let win = self.window { if let win = self.window {
win.isOpaque = false win.isOpaque = false