File tree Expand file tree Collapse file tree
Core/Sources/SuggestionWidget Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,13 @@ struct ChatWindowView: View {
2727 }
2828 ) { viewStore in
2929 VStack ( spacing: 0 ) {
30+ RoundedRectangle ( cornerRadius: 2 )
31+ . fill ( . tertiary)
32+ . frame ( width: 120 , height: 4 )
33+ . frame ( height: 16 )
34+
35+ Divider ( )
36+
3037 ChatTabBar ( store: store)
3138 . frame ( height: 32 )
3239
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import SwiftUI
55
66enum Style {
77 static let panelHeight : Double = 500
8- static let panelWidth : Double = 454
8+ static let panelWidth : Double = 480
99 static let inlineSuggestionMinWidth : Double = 540
1010 static let inlineSuggestionMaxHeight : Double = 400
1111 static let widgetHeight : Double = 24
Original file line number Diff line number Diff line change @@ -262,7 +262,7 @@ extension SuggestionWidgetController: NSWindowDelegate {
262262 . frame ?? . zero
263263 var mouseLocation = NSEvent . mouseLocation
264264 let windowFrame = chatPanelWindow. frame
265- if mouseLocation. y > windowFrame. maxY - 40 ,
265+ if mouseLocation. y > windowFrame. maxY - 16 ,
266266 mouseLocation. y < windowFrame. maxY,
267267 mouseLocation. x > windowFrame. minX,
268268 mouseLocation. x < windowFrame. maxX
@@ -297,7 +297,7 @@ class ChatWindow: NSWindow {
297297 override func mouseDown( with event: NSEvent ) {
298298 let windowFrame = frame
299299 let currentLocation = event. locationInWindow
300- if currentLocation. y > windowFrame. size. height - 40 ,
300+ if currentLocation. y > windowFrame. size. height - 16 ,
301301 currentLocation. y < windowFrame. size. height,
302302 currentLocation. x > 0 ,
303303 currentLocation. x < windowFrame. width
You can’t perform that action at this time.
0 commit comments