Skip to content

Commit 514c820

Browse files
committed
Add collapsing jumpbar items
1 parent a5d8fa7 commit 514c820

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

CodeEdit/Features/Editor/JumpBar/Views/EditorJumpBarComponent.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ struct EditorJumpBarComponent: View {
6565

6666
return button
6767
}
68+
.frame(
69+
maxWidth: isHovering || isLastItem ? nil : 20,
70+
alignment: .leading
71+
)
72+
.clipped()
6873
.padding(.trailing, 11)
6974
.background {
7075
Color(nsColor: colorScheme == .dark ? .white : .black)

0 commit comments

Comments
 (0)