diff options
| author | Fuwn <[email protected]> | 2026-02-18 16:23:25 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-18 16:27:23 -0800 |
| commit | e079d76aefd3207c0957a3191d575dae9b0c7f65 (patch) | |
| tree | 594bd81e55a5188ef03d722cb5ae05d748dd279d /Sora/Views/Post/Details/PostDetailsImageView.swift | |
| parent | fix: prevent thumbnail grid launch crash from column and data drift (diff) | |
| download | sora-testing-e079d76aefd3207c0957a3191d575dae9b0c7f65.tar.xz sora-testing-e079d76aefd3207c0957a3191d575dae9b0c7f65.zip | |
feat: implement native iOS photos-style image zoom interactions
Diffstat (limited to 'Sora/Views/Post/Details/PostDetailsImageView.swift')
| -rw-r--r-- | Sora/Views/Post/Details/PostDetailsImageView.swift | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Sora/Views/Post/Details/PostDetailsImageView.swift b/Sora/Views/Post/Details/PostDetailsImageView.swift index c33f7db..b1d4498 100644 --- a/Sora/Views/Post/Details/PostDetailsImageView.swift +++ b/Sora/Views/Post/Details/PostDetailsImageView.swift @@ -10,10 +10,6 @@ struct PostDetailsImageView<Placeholder: View>: View { var finalLoadingState: BooruPostLoadingState let placeholder: () -> Placeholder let post: BooruPost? - @State private var currentScale: CGFloat = 1.0 - @State private var finalScale: CGFloat = 1.0 - @State private var currentOffset: CGSize = .zero - @State private var finalOffset: CGSize = .zero #if os(iOS) var keyWindow: UIWindow? { |