We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 732e438 commit be8e0eeCopy full SHA for be8e0ee
1 file changed
Core/Sources/SuggestionWidget/SuggestionWidgetController.swift
@@ -584,6 +584,7 @@ extension SuggestionWidgetController: NSWindowDelegate {
584
var mouseLocation = NSEvent.mouseLocation
585
let windowFrame = chatWindow.frame
586
if mouseLocation.y > windowFrame.maxY - 40,
587
+ mouseLocation.y < windowFrame.maxY,
588
mouseLocation.x > windowFrame.minX,
589
mouseLocation.x < windowFrame.maxX
590
{
@@ -616,6 +617,7 @@ class ChatWindow: NSWindow {
616
617
let windowFrame = frame
618
let currentLocation = event.locationInWindow
619
if currentLocation.y > windowFrame.size.height - 40,
620
+ currentLocation.y < windowFrame.size.height,
621
currentLocation.x > 0,
622
currentLocation.x < windowFrame.width
623
0 commit comments