Merge pull request #436 from timothyqiu/toast
Fixes #348 Prevent cascading toast window
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user