summaryrefslogtreecommitdiffstats
path: root/src/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/com')
-rw-r--r--src/com/android/gallery3d/filtershow/info/HistogramView.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/info/HistogramView.java b/src/com/android/gallery3d/filtershow/info/HistogramView.java
index 6d820ec39..ad56fe47a 100644
--- a/src/com/android/gallery3d/filtershow/info/HistogramView.java
+++ b/src/com/android/gallery3d/filtershow/info/HistogramView.java
@@ -89,7 +89,7 @@ public class HistogramView extends View {
float h = getHeight() - Spline.curveHandleSize() / 2.0f;
float dx = Spline.curveHandleSize() / 2.0f;
float wl = w / histogram.length;
- float wh = (0.3f * h) / max;
+ float wh = h / max;
Paint paint = new Paint();
paint.setARGB(100, 255, 255, 255);
paint.setStrokeWidth((int) Math.ceil(wl));