diff --git a/app/src/main/java/draw/simplemobiletools/com/MyCanvas.java b/app/src/main/java/draw/simplemobiletools/com/MyCanvas.java index 1269b7f..0d85a14 100644 --- a/app/src/main/java/draw/simplemobiletools/com/MyCanvas.java +++ b/app/src/main/java/draw/simplemobiletools/com/MyCanvas.java @@ -66,20 +66,19 @@ public class MyCanvas extends View { startX = x; startY = y; actionDown(x, y); - invalidate(); break; case MotionEvent.ACTION_MOVE: actionMove(x, y); - invalidate(); break; case MotionEvent.ACTION_UP: actionUp(); - invalidate(); break; default: break; } + invalidate(); + return true; } }