From 877eb9faa69930b4dc2a9310f365abb499a7f9e0 Mon Sep 17 00:00:00 2001 From: ctorney Date: Mon, 27 Feb 2023 14:28:46 +0000 Subject: [PATCH] no need to redraw when erasing --- .../main/java/com/onyx/dailydiary/utils/PenCallback.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/onyx/dailydiary/utils/PenCallback.java b/app/src/main/java/com/onyx/dailydiary/utils/PenCallback.java index 88306dd..5cd8fd9 100644 --- a/app/src/main/java/com/onyx/dailydiary/utils/PenCallback.java +++ b/app/src/main/java/com/onyx/dailydiary/utils/PenCallback.java @@ -137,9 +137,9 @@ public void onBeginRawErasing(boolean b, TouchPoint touchPoint) { minTouchY = (int)touchPoint.y; maxTouchY = (int)touchPoint.y; rawDrawing = true; - for (BitmapView view:views) { - view.redrawSurface(); - } +// for (BitmapView view:views) { +// view.redrawSurface(); +// } }