From f2320fbe8a8ffa276441c0c741adfdf019b84ea1 Mon Sep 17 00:00:00 2001 From: serso Date: Sun, 1 Feb 2015 13:22:44 +0100 Subject: [PATCH] Fix for wrong method call --- .../solovyev/android/calculator/plot/CalculatorGraph2dView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android-app/src/main/java/org/solovyev/android/calculator/plot/CalculatorGraph2dView.java b/android-app/src/main/java/org/solovyev/android/calculator/plot/CalculatorGraph2dView.java index 56587fc6..fcd172c0 100644 --- a/android-app/src/main/java/org/solovyev/android/calculator/plot/CalculatorGraph2dView.java +++ b/android-app/src/main/java/org/solovyev/android/calculator/plot/CalculatorGraph2dView.java @@ -183,7 +183,7 @@ public class CalculatorGraph2dView extends View implements GraphView { @Nonnull public Bitmap captureScreenshot() { final Bitmap result = Bitmap.createBitmap(dimensions.getVWidthPxs(), dimensions.getVHeightPxs(), Bitmap.Config.RGB_565); - onDraw(new Canvas(result)); + draw(new Canvas(result)); return result; }