diff --git a/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintViewModel.java b/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintViewModel.java index 22eed8a..84adc88 100644 --- a/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintViewModel.java +++ b/app/src/main/java/org/ntlab/acanthus_client/views/paint/PaintViewModel.java @@ -56,7 +56,7 @@ mStrokes.setValue(new ArrayList<>()); mStrokes.getValue().add(new Stroke()); - thread.scheduleWithFixedDelay(this, 1000L, 100L, TimeUnit.MICROSECONDS); + thread.scheduleWithFixedDelay(this, 1000L, 100L, TimeUnit.MILLISECONDS); } //----------------------------------------------------------------- @@ -92,7 +92,7 @@ @Override public void run() { // Log.d("debug", "run: "); - //paintModelContainer.getPaintConnectionModel().getStrokes(mStrokes); + paintModelContainer.getPaintConnectionModel().getStrokes(mStrokes); paintModelContainer.getPaintConnectionModel().getStrokeNo(mStrokeNo); }