Skip to content

Commit c5d58cd

Browse files
author
Jocelyn Becker
committed
Fixing varname for mExtraBitmap in onDraw()
1 parent b5caa02 commit c5d58cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CanvasExample/app/src/main/java/com/example/canvasexample/MyCanvasView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ protected void onSizeChanged(int width, int height,
8686
protected void onDraw(Canvas canvas) {
8787
super.onDraw(canvas);
8888
// Draw the bitmap where we are saving the path.
89-
canvas.drawBitmap(mBitmap, 0, 0, null);
89+
canvas.drawBitmap(mExtraBitmap, 0, 0, null);
9090
}
9191

9292
// Variables for the latest x,y values,

0 commit comments

Comments
 (0)