mirror of
https://github.com/dscyrescotti/Memola.git
synced 2026-03-21 00:49:27 +01:00
feat: add hover effect
This commit is contained in:
@@ -101,6 +101,7 @@ struct MemoView: View {
|
||||
.clipShape(.rect(cornerRadius: 8))
|
||||
.padding(10)
|
||||
}
|
||||
.hoverEffect(.lift)
|
||||
.transition(.move(edge: .bottom).combined(with: .blurReplace))
|
||||
}
|
||||
}
|
||||
|
||||
@@ -241,6 +241,7 @@ struct PenDock: View {
|
||||
.frame(width: size + 2, height: size + 2)
|
||||
}
|
||||
}
|
||||
.hoverEffect(.lift)
|
||||
.pickerStyle(.wheel)
|
||||
.frame(width: width * factor - 18, height: 35)
|
||||
.onChange(of: pen.thickness) { _, _ in
|
||||
|
||||
Reference in New Issue
Block a user