From 0597b03fa2255aedf2b448c74624f2e4f4539183 Mon Sep 17 00:00:00 2001 From: Thorsten Ball Date: Thu, 17 Aug 2023 07:04:46 +0200 Subject: [PATCH] macOS: remove dead code from PrimaryWindowController I think this is a left-over from the refactor that moved this field to the `PrimaryWindowManager`. --- .../Features/Primary Window/PrimaryWindowController.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/macos/Sources/Features/Primary Window/PrimaryWindowController.swift b/macos/Sources/Features/Primary Window/PrimaryWindowController.swift index 180fee960..ffc7d12f5 100644 --- a/macos/Sources/Features/Primary Window/PrimaryWindowController.swift +++ b/macos/Sources/Features/Primary Window/PrimaryWindowController.swift @@ -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?