diff options
author | leoz <leoz@yahoo.com> | 2024-02-21 11:25:37 -0500 |
---|---|---|
committer | leoz <leoz@yahoo.com> | 2024-02-21 11:25:37 -0500 |
commit | 64f8dbbcc3a46b614dbf9ed82f463b522957880e (patch) | |
tree | 19bdb65bc7d28b9605b18a20716a15e407ff3c3c | |
parent | a505b7725bed2d45f9e9566bfe3f719b60d7171c (diff) |
Lint fixes
-rw-r--r-- | Sources/SwiftyCrop/View/CropView.swift | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Sources/SwiftyCrop/View/CropView.swift b/Sources/SwiftyCrop/View/CropView.swift index 73caaf1..92b1138 100644 --- a/Sources/SwiftyCrop/View/CropView.swift +++ b/Sources/SwiftyCrop/View/CropView.swift @@ -47,7 +47,7 @@ struct CropView: View { viewModel.lastScale = viewModel.scale viewModel.lastOffset = viewModel.offset } - + let dragGesture = DragGesture() .onChanged { value in let maxOffsetPoint = viewModel.calculateDragGestureMax() @@ -64,9 +64,9 @@ struct CropView: View { .onEnded { _ in viewModel.lastOffset = viewModel.offset } - + let combinedGesture = magnificationGesture.simultaneously(with: dragGesture) - + VStack { Text("interaction_instructions", tableName: localizableTableName, bundle: .module) .font(.system(size: 16, weight: .regular)) |