Skip to content

2.5.0

Choose a tag to compare

@ivanvorobei ivanvorobei released this 31 Oct 14:44
· 2 commits to main since this release
  • Views smaller than a widget (141 pt) tilt like a scaled-down widget: perspective, shadow blur and offsets follow the view's size instead of fixed points. A 44 pt icon gets a visible perspective and a compact shadow instead of a flat tilt under a blurry halo
  • The smaller the view, the livelier the tilt: a slightly steeper angle (13° at 44 pt) and a stronger lift on setTilted(true, animated: true), capped at 18% so the view does not swell into its neighbours. At the top of the lift the shadow drops lower and softer, so the view reads as flying up
  • The same size rule in SwiftUI .perspective(_:)
  • Views of widget size and larger look exactly as before. No public API changes