1 parent 9e5bbed commit 7103a9fCopy full SHA for 7103a9f
1 file changed
SkillsManager/Views/SkillListView.swift
@@ -204,6 +204,8 @@ private struct SkillRow: View {
204
let onInstall: () -> Void
205
let onUninstall: () -> Void
206
207
+ @State private var isHovered = false
208
+
209
var body: some View {
210
VStack(alignment: .leading, spacing: 4) {
211
HStack {
@@ -226,8 +228,15 @@ private struct SkillRow: View {
226
228
227
229
SkillActionButtons(skill: skill, onInstall: onInstall, onUninstall: onUninstall)
230
}
- .padding(.vertical, 4)
231
+ .padding(.vertical, 6)
232
+ .padding(.horizontal, 8)
233
+ .background(
234
+ RoundedRectangle(cornerRadius: 6)
235
+ .fill(isHovered ? Color.primary.opacity(0.05) : Color.clear)
236
+ )
237
.contentShape(Rectangle())
238
+ .onHover { isHovered = $0 }
239
+ .animation(.easeInOut(duration: 0.12), value: isHovered)
240
241
242
0 commit comments