Skip to content

Commit b8a9bff

Browse files
committed
Add animation
1 parent 514c820 commit b8a9bff

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ struct EditorJumpBarComponent: View {
8888
}
8989
.padding(.vertical, 3)
9090
.onHover { hover in
91-
isHovering = hover
91+
withAnimation(.easeInOut(duration: 0.2)) {
92+
isHovering = hover
93+
}
9294
}
9395
.onLongPressGesture(minimumDuration: 0) {
9496
button.performClick(nil)

0 commit comments

Comments
 (0)