aboutsummaryrefslogtreecommitdiff
path: root/Sources
diff options
context:
space:
mode:
Diffstat (limited to 'Sources')
-rw-r--r--Sources/SwiftyCrop/View/CropView.swift5
1 files changed, 2 insertions, 3 deletions
diff --git a/Sources/SwiftyCrop/View/CropView.swift b/Sources/SwiftyCrop/View/CropView.swift
index 92b1138..03de910 100644
--- a/Sources/SwiftyCrop/View/CropView.swift
+++ b/Sources/SwiftyCrop/View/CropView.swift
@@ -65,8 +65,6 @@ struct CropView: View {
viewModel.lastOffset = viewModel.offset
}
- let combinedGesture = magnificationGesture.simultaneously(with: dragGesture)
-
VStack {
Text("interaction_instructions", tableName: localizableTableName, bundle: .module)
.font(.system(size: 16, weight: .regular))
@@ -101,7 +99,8 @@ struct CropView: View {
)
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
- .gesture(combinedGesture)
+ .simultaneousGesture(magnificationGesture)
+ .simultaneousGesture(dragGesture)
HStack {
Button {