This commit is contained in:
2025-08-18 23:59:43 +08:00
parent d80289fe73
commit 77d2a93fe0
3 changed files with 24 additions and 11 deletions

View File

@@ -110,7 +110,7 @@ struct PhotoView: View {
if totalImages > 0, currentImageIndex > 0 {
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
withAnimation {
proxy.scrollTo(currentImageIndex, anchor: .top)
proxy.scrollTo(savedIndex, anchor: .top)
}
}
}