Fix for wrong method call
This commit is contained in:
parent
217ab83b26
commit
f2320fbe8a
@ -183,7 +183,7 @@ public class CalculatorGraph2dView extends View implements GraphView {
|
|||||||
@Nonnull
|
@Nonnull
|
||||||
public Bitmap captureScreenshot() {
|
public Bitmap captureScreenshot() {
|
||||||
final Bitmap result = Bitmap.createBitmap(dimensions.getVWidthPxs(), dimensions.getVHeightPxs(), Bitmap.Config.RGB_565);
|
final Bitmap result = Bitmap.createBitmap(dimensions.getVWidthPxs(), dimensions.getVHeightPxs(), Bitmap.Config.RGB_565);
|
||||||
onDraw(new Canvas(result));
|
draw(new Canvas(result));
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user