diff --git a/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintActivity.java b/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintActivity.java index 2896e5f..05da37c 100644 --- a/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintActivity.java +++ b/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintActivity.java @@ -53,13 +53,14 @@ protected void onResume() { super.onResume(); paintViewModel.start(); + paintCanvas.clearCanvas(); } //----------------------------------------------------------------- @Override protected void onPause() { super.onPause(); - paintViewModel.stop(); +// paintViewModel.stop(); } //----------------------------------------------------------------- @@ -85,7 +86,6 @@ paintOnionCanvas = findViewById(R.id.paintOnionCanvas); paintOnionCanvas.init(paintViewModel); - paintToolBar = new PaintToolBar(this, paintCanvas, paintOnionCanvas); }