Skip to content

Commit

Permalink
Merge pull request #30 from martin-k/master
Browse files Browse the repository at this point in the history
  • Loading branch information
benedom authored Feb 13, 2025
2 parents b2d2c3c + 42b0359 commit b4372ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftyCrop/View/CropView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ struct CropView: View {

let rotationGesture = RotationGesture()
.onChanged { value in
viewModel.angle = value
viewModel.angle = viewModel.lastAngle + value
}
.onEnded { _ in
viewModel.lastAngle = viewModel.angle
Expand Down

0 comments on commit b4372ee

Please sign in to comment.