提交 2fec4f5e 编写于 作者: H huangziwei

修复空指针问题

上级 910626d1
......@@ -219,9 +219,10 @@ public class GraffitiView extends View {
mCopyLocation.isCopying = true;
}
mCopyLocation.isRelocating = false;
mCurrPath = new Path();
mCurrPath.moveTo(toX(mTouchDownX), toY(mTouchDownY));
if (mShape == Shape.HAND_WRITE) { // 手写
mCurrPath = new Path();
mCurrPath.moveTo(toX(mTouchDownX), toY(mTouchDownY));
} else { // 画图形
}
......
#Mon Dec 28 10:00:20 PST 2015
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册