File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Core/Sources/SuggestionWidget Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -69,6 +69,16 @@ struct ChatWindowView: View {
6969 }
7070}
7171
72+ private extension View {
73+ func hideScrollIndicator( ) -> some View {
74+ if #available( macOS 13 . 0 , * ) {
75+ return scrollIndicators ( . hidden)
76+ } else {
77+ return self
78+ }
79+ }
80+ }
81+
7282struct ChatTabBar : View {
7383 let store : StoreOf < ChatPanelFeature >
7484
@@ -107,6 +117,7 @@ struct ChatTabBar: View {
107117 }
108118 }
109119 }
120+ . hideScrollIndicator ( )
110121
111122 Divider ( )
112123
@@ -308,6 +319,11 @@ struct ChatWindowView_Previews: PreviewProvider {
308319 tabs: [
309320 FakeChatTab ( id: " 1 " , title: " Hello I am a chatbot " ) ,
310321 EmptyChatTab ( id: " 2 " ) ,
322+ EmptyChatTab ( id: " 3 " ) ,
323+ EmptyChatTab ( id: " 4 " ) ,
324+ EmptyChatTab ( id: " 5 " ) ,
325+ EmptyChatTab ( id: " 6 " ) ,
326+ EmptyChatTab ( id: " 7 " ) ,
311327 ] ,
312328 selectedTabId: " 1 "
313329 ) ,
You can’t perform that action at this time.
0 commit comments