Skip to content
Snippets Groups Projects
Commit 55460240 authored by Viktoria Wiebe's avatar Viktoria Wiebe Committed by Elmar Ludwig
Browse files

re #1291 - fix initial color setting for pen and text tool

Merge request studip/studip!831
parent c81ba0bf
No related branches found
No related tags found
No related merge requests found
......@@ -341,8 +341,7 @@ export default {
canvas.height = 500;
}
this.context = canvas.getContext('2d');
this.currentColor = 'blue';
this.currentColorRGBA = this.colors['blue'];
this.setColor('blue');
this.currentSize = this.sizes['normal'];
this.currentTool = this.tools['pen'];
this.redraw();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment