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