Skip to content

Commit 2f5fa14

Browse files
committed
removed console.log and added rainbow brush name in select input
1 parent 6af9074 commit 2f5fa14

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

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="gradient_brush">Gradient Brush</option>
51+
<option value="rainbow_brush">Rainbow Brush</option>
5252
<option value="eraser">Eraser</option>
5353
<option value="line">Line</option>
5454
</select>

src/renderers/RealDrawBoard/tools/rainbow_brush.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ export function _doStroke(
3434
) {
3535
hue = (hue + 1) % 360;
3636
gradientColors = convertHSLToRGB(hue, 90, 40);
37-
console.log('r,g,b => ',gradientColors);
3837
this._plot(coords[0], coords[1], this.brushSize, gradientColors);
3938
this._stroke(coords[0], coords[1], this.brushSize, gradientColors, identifier);
4039
}

0 commit comments

Comments
 (0)