summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/crop/CropObject.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/gallery3d/filtershow/crop/CropObject.java')
-rw-r--r--src/com/android/gallery3d/filtershow/crop/CropObject.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/crop/CropObject.java b/src/com/android/gallery3d/filtershow/crop/CropObject.java
index 7999b4878..bea3ffabd 100644
--- a/src/com/android/gallery3d/filtershow/crop/CropObject.java
+++ b/src/com/android/gallery3d/filtershow/crop/CropObject.java
@@ -89,7 +89,7 @@ public class CropObject {
clearSelectState();
}
- public boolean setInnerAspectRatio(int width, int height) {
+ public boolean setInnerAspectRatio(float width, float height) {
if (width <= 0 || height <= 0) {
throw new IllegalArgumentException("Width and Height must be greater than zero");
}