Skip to content

Commit

Permalink
Update TouchTransform.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
gadirom committed May 8, 2023
1 parent 65ac27e commit 6c094f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class TouchTransform: ObservableObject{
rotationSnapPeriod: CGFloat = .greatestFiniteMagnitude,
rotationSnapDistance: CGFloat = 0,
scaleSnapDistance: CGFloat = 0,
disableRelativeRotation: Bool = false) {
disableRelativeRotationAndScale: Bool = false) {
self.resulting.translation = translation
self.resulting.scale = scale
self.resulting.rotation = rotation
Expand All @@ -58,7 +58,7 @@ public class TouchTransform: ObservableObject{

self.scaleSnapDistance = scaleSnapDistance

self.disableRelativeRotationAndScale = disableRelativeRotation
self.disableRelativeRotationAndScale = disableRelativeRotationAndScale
}

//Published Dragging Values
Expand Down

0 comments on commit 6c094f3

Please sign in to comment.