diff options
author | Tor Norbye <tnorbye@google.com> | 2011-02-04 11:13:58 -0800 |
---|---|---|
committer | Android Code Review <code-review@android.com> | 2011-02-04 11:13:58 -0800 |
commit | 5605ef77b4ae4e2d7c5a203b242a0923a295b928 (patch) | |
tree | af17979023d8841713e6c30856ecf9c595bbe5c3 | |
parent | e1e78fe1f5767925a6d411270064e434758250ec (diff) | |
parent | cfd04ede0d3230a91e0096c5b7c80d3bc76a1f6b (diff) | |
download | sdk-5605ef77b4ae4e2d7c5a203b242a0923a295b928.zip sdk-5605ef77b4ae4e2d7c5a203b242a0923a295b928.tar.gz sdk-5605ef77b4ae4e2d7c5a203b242a0923a295b928.tar.bz2 |
Merge "Prevent java.lang.ArithmeticException in draw9patch"
-rw-r--r-- | draw9patch/src/com/android/draw9patch/ui/ImageEditorPanel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/draw9patch/src/com/android/draw9patch/ui/ImageEditorPanel.java b/draw9patch/src/com/android/draw9patch/ui/ImageEditorPanel.java index 1afc2ce..e0aa026 100644 --- a/draw9patch/src/com/android/draw9patch/ui/ImageEditorPanel.java +++ b/draw9patch/src/com/android/draw9patch/ui/ImageEditorPanel.java @@ -655,7 +655,7 @@ class ImageEditorPanel extends JPanel { private static final double STRIPES_SPACING = 6.0; private static final int STRIPES_ANGLE = 45; - private int zoom; + private int zoom = DEFAULT_ZOOM; private boolean showPatches; private boolean showLock = true; |