Merge pull request #293 from mitchellh/mrn/macos-dead-code

macOS: remove dead code from PrimaryWindowController
This commit is contained in:
Mitchell Hashimoto
2023-08-16 22:06:05 -07:00
committed by GitHub

View File

@ -1,11 +1,6 @@
import Cocoa
class PrimaryWindowController: NSWindowController {
// Keep track of the last point that our window was launched at so that new
// windows "cascade" over each other and don't just launch directly on top
// of each other.
static var lastCascadePoint = NSPoint(x: 0, y: 0)
// This is used to programmatically control tabs.
weak var windowManager: PrimaryWindowManager?