|
|
@ -270,12 +270,24 @@ public class StraightenTool : ITool { |
|
|
|
} |
|
|
|
|
|
|
|
if (input.IsKeyPressed(Keys.Left)) { |
|
|
|
if (input.IsKeyDown(Keys.LeftControl)) { |
|
|
|
photo.RotationDegreeHundredths += 100; |
|
|
|
} else if (input.IsKeyDown(Keys.LeftShift)) { |
|
|
|
photo.RotationDegreeHundredths += 1; |
|
|
|
} else { |
|
|
|
photo.RotationDegreeHundredths += 10; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (input.IsKeyPressed(Keys.Right)) { |
|
|
|
if (input.IsKeyDown(Keys.LeftControl)) { |
|
|
|
photo.RotationDegreeHundredths -= 100; |
|
|
|
} else if (input.IsKeyDown(Keys.LeftShift)) { |
|
|
|
photo.RotationDegreeHundredths -= 1; |
|
|
|
} else { |
|
|
|
photo.RotationDegreeHundredths -= 10; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (input.IsKeyPressed(Keys.Enter)) { |
|
|
|
return ToolStatus.Done; |
|
|
|