Skip to content

Commit c4da5a1

Browse files
author
HarshKhandeparkar
committed
docs<tools>: erase -> eraser
1 parent 18d8b7b commit c4da5a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ See [example](https://harshkhandeparkar.github.io/gpujs-real-renderer).
225225
- `brushColor` (*array*): The color of the brush in the corm `[red, green, blue]` where each of
226226
`red`, `green` and `blue` are between 0 and 1.
227227
- `eraserSize` (*number*): Size of the eraser.
228-
- `tool` ('brush' | 'erase'): The current tool used on the board. This tool can be set in the options or using the `changeTool` method.
228+
- `tool` ('brush' | 'eraser'): The current tool used on the board. This tool can be set in the options or using the `changeTool` method.
229229
230230
##### Options
231231
Since this is a child class of `RealRenderer`, all the options of `RealRender` are applicable here as well.

example/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ <h3># Drawing Board</h3>
4848
<label for="draw-tool">Tool: </label>
4949
<select name="draw-tool" id="draw-tool" value="brush">
5050
<option value="brush">Brush</option>
51-
<option value="erase">Erase</option>
51+
<option value="eraser">Eraser</option>
5252
</select>
5353
<br />
5454

0 commit comments

Comments
 (0)