Fixes #348 Prevent cascading toast window

This commit is contained in:
Timothy Qiu
2017-08-02 20:49:11 +08:00
parent fb46501ff4
commit ad038d2cc4

View File

@ -30,6 +30,8 @@ class ToastWindowController: NSWindowController {
override func 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.
if let win = self.window {
win.isOpaque = false