We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dead71c commit 0cb9b12Copy full SHA for 0cb9b12
1 file changed
Core/Sources/SuggestionWidget/SuggestionWidgetController.swift
@@ -482,11 +482,15 @@ extension SuggestionWidgetController {
482
}
483
} else if let window = application.focusedWindow,
484
!["open_quickly"].contains(window.identifier),
485
- let frame = application.focusedWindow?.rect,
+ var frame = application.focusedWindow?.rect,
486
frame.size.height > 200,
487
let screen = NSScreen.screens.first(where: { $0.frame.origin == .zero }),
488
let firstScreen = NSScreen.main
489
{
490
+ if ["Xcode.WorkspaceWindow"].contains(window.identifier) {
491
+ frame.size.height -= 40
492
+ }
493
+
494
return UpdateLocationStrategy.FixedToBottom().framesForWindows(
495
editorFrame: frame,
496
mainScreen: screen,
0 commit comments