Skip to content

Commit

Permalink
no need to redraw when erasing
Browse files Browse the repository at this point in the history
  • Loading branch information
ctorney authored Feb 27, 2023
1 parent 9a5418c commit 877eb9f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/com/onyx/dailydiary/utils/PenCallback.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
// }


}
Expand Down

0 comments on commit 877eb9f

Please sign in to comment.