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 @@ -44,6 +44,10 @@ struct SuggestionPanelView: View {
4444 . fixedSize ( horizontal: false , vertical: true )
4545 . background ( Color ( red: 31 / 255 , green: 31 / 255 , blue: 36 / 255 ) )
4646 . clipShape ( RoundedRectangle ( cornerRadius: 8 , style: . continuous) )
47+ . overlay (
48+ RoundedRectangle ( cornerRadius: 8 , style: . continuous)
49+ . stroke ( Color . black. opacity ( 0.3 ) , style: . init( lineWidth: 1 ) )
50+ )
4751
4852 . onHover { yes in
4953 withAnimation ( . easeInOut( duration: 0.2 ) ) {
@@ -56,10 +60,6 @@ struct SuggestionPanelView: View {
5660 . frame ( minHeight: 0 , maxHeight: . infinity)
5761 . allowsHitTesting ( false )
5862 }
59- . overlay (
60- RoundedRectangle ( cornerRadius: 8 , style: . continuous)
61- . stroke ( Color . black. opacity ( 0.3 ) , style: . init( lineWidth: 1 ) )
62- )
6363 . opacity ( {
6464 guard viewModel. isPanelDisplayed else { return 0 }
6565 guard !viewModel. suggestion. isEmpty else { return 0 }
You can’t perform that action at this time.
0 commit comments