fix error in canvas renderer tutorial

pull/1/head
Evan Hemsley 2019-06-09 20:41:02 -07:00
parent ad738a9955
commit 41e656d5f4
1 changed files with 2 additions and 2 deletions

View File

@ -51,8 +51,8 @@ Let's fill out our *render* method.
0,
canvas_component.x_scale,
canvas_component.y_scale,
canvas.getWidth(),
canvas.getHeight(),
canvas.getWidth() * 0.5,
canvas.getHeight() * 0.5,
);
}
```