mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 15:14:33 +00:00
pleasseeee
This commit is contained in:
parent
531340ae92
commit
f04de8f54a
1 changed files with 0 additions and 1 deletions
|
|
@ -1558,7 +1558,6 @@ private struct AlbumArtFlipModifier: ViewModifier {
|
|||
// Use a small tolerance to avoid flickering exactly at 90°/270°.
|
||||
if cos > 0.001 { return 1 }
|
||||
if cos < -0.001 { return -1 }
|
||||
// At the exact edge, prefer the side we're animating toward.
|
||||
return degrees.truncatingRemainder(dividingBy: 360) >= 0 ? -1 : 1
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue