fix error in canvas renderer tutorial
parent
ad738a9955
commit
41e656d5f4
|
@ -51,8 +51,8 @@ Let's fill out our *render* method.
|
||||||
0,
|
0,
|
||||||
canvas_component.x_scale,
|
canvas_component.x_scale,
|
||||||
canvas_component.y_scale,
|
canvas_component.y_scale,
|
||||||
canvas.getWidth(),
|
canvas.getWidth() * 0.5,
|
||||||
canvas.getHeight(),
|
canvas.getHeight() * 0.5,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue