mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
small parallax effect on album artwork
This commit is contained in:
parent
44c053a761
commit
9d708069d8
5 changed files with 75 additions and 0 deletions
|
|
@ -69,6 +69,7 @@ struct AlbumArtView: View {
|
|||
appIconOverlay
|
||||
}
|
||||
.albumArtFlip(angle: musicManager.flipAngle)
|
||||
.parallax3D(magnitude: 12)
|
||||
}
|
||||
.buttonStyle(PlainButtonStyle())
|
||||
.scaleEffect(musicManager.isPlaying ? 1 : 0.85)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue