Skip to content

Commit 450ae78

Browse files
committed
Make chat bubble rounder
1 parent d79235f commit 450ae78

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Core/Sources/SuggestionWidget/SuggestionPanelContent/ChatPanel.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ struct ChatPanelMessages: View {
7979
var body: some View {
8080
ScrollView {
8181
vstack {
82-
let r = 6 as Double
82+
let r = 24 as Double
8383

8484
Spacer()
8585

@@ -131,11 +131,11 @@ struct ChatPanelMessages: View {
131131
.frame(alignment: .trailing)
132132
.padding()
133133
.background {
134-
RoundedCorners(tl: r, tr: r * 2, bl: r, br: 0)
134+
RoundedCorners(tl: r, tr: r, bl: r, br: 0)
135135
.fill(Color.userChatContentBackground)
136136
}
137137
.overlay {
138-
RoundedCorners(tl: r, tr: r * 2, bl: r, br: 0)
138+
RoundedCorners(tl: r, tr: r, bl: r, br: 0)
139139
.stroke(Color(nsColor: .separatorColor), lineWidth: 1)
140140
}
141141
.padding(.leading)
@@ -162,11 +162,11 @@ struct ChatPanelMessages: View {
162162
.frame(alignment: .leading)
163163
.padding()
164164
.background {
165-
RoundedCorners(tl: r * 2, tr: r, bl: 0, br: r)
165+
RoundedCorners(tl: r, tr: r, bl: 0, br: r)
166166
.fill(Color.contentBackground)
167167
}
168168
.overlay {
169-
RoundedCorners(tl: r * 2, tr: r, bl: 0, br: r)
169+
RoundedCorners(tl: r, tr: r, bl: 0, br: r)
170170
.stroke(Color(nsColor: .separatorColor), lineWidth: 1)
171171
}
172172
.padding(.leading, 8)

0 commit comments

Comments
 (0)