We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c72af91 commit c1d6e96Copy full SHA for c1d6e96
1 file changed
Core/Sources/SuggestionWidget/SuggestionWidgetController.swift
@@ -575,16 +575,6 @@ extension SuggestionWidgetController: NSWindowDelegate {
575
UserDefaults.shared.set(true, for: \.chatPanelInASeparateWindow)
576
}
577
578
-
579
- public func windowWillResize(_ sender: NSWindow, to frameSize: NSSize) -> NSSize {
580
- guard sender === chatWindow else { return frameSize }
581
- Task { @MainActor in
582
- await Task.yield()
583
- guard chatWindow.isBeingDragged else { return }
584
- UserDefaults.shared.set(true, for: \.chatPanelInASeparateWindow)
585
- }
586
- return frameSize
587
588
589
590
class CanBecomeKeyWindow: NSWindow {
0 commit comments