- commit
- e99cbfcb027a5cf23fc9351dd8c5b026beb95505
- parent
- d63b28aec6e1a318adf175d31adf4c95f7546e94
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-02-12 19:36
reset pencil on load
Diffstat
| M | paint.js | 1 | + |
1 files changed, 1 insertions, 0 deletions
diff --git a/paint.js b/paint.js
@@ -149,6 +149,7 @@ input.addEventListener('change', () => {
149 149 pencil = parseInt(event.target.value, 10);
150 150 });
151 151 }
-1 152 setPencil(0);
152 153 resizeCanvas();
153 154
154 155 zoom = canvas.height / offcanvas.height * 0.8;