summaryrefslogtreecommitdiff
path: root/Sora/Views
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-02-26 21:23:38 -0800
committerFuwn <[email protected]>2025-02-26 21:23:38 -0800
commit3d69a9076d96edfb41477f5b8c6dd02609040bab (patch)
tree5e2aed5cc399063ff6324f4c189dc3550454a850 /Sora/Views
parentfeat: Development commit (diff)
downloadsora-testing-3d69a9076d96edfb41477f5b8c6dd02609040bab.tar.xz
sora-testing-3d69a9076d96edfb41477f5b8c6dd02609040bab.zip
feat: Development commit
Diffstat (limited to 'Sora/Views')
-rw-r--r--Sora/Views/InteractiveImageView.swift4
1 files changed, 2 insertions, 2 deletions
diff --git a/Sora/Views/InteractiveImageView.swift b/Sora/Views/InteractiveImageView.swift
index 9ab3774..c40785f 100644
--- a/Sora/Views/InteractiveImageView.swift
+++ b/Sora/Views/InteractiveImageView.swift
@@ -63,8 +63,8 @@ struct InteractiveImageView: View {
TapGesture(count: 2)
.onEnded {
withAnimation {
- currentScale = 1
- previousScale = 1
+ currentScale = currentScale == 1 ? 2 : 1
+ previousScale = currentScale
currentOffset = .zero
previousOffset = .zero
zoomAnchor = .center