Skip to content
Snippets Groups Projects
Commit 29afac31 authored by Ron Lucke's avatar Ron Lucke Committed by Jan-Hendrik Willms
Browse files

fix #3905

Closes #3905

Merge request studip/studip!2763
parent 7ae7a64d
No related branches found
No related tags found
No related merge requests found
......@@ -22,11 +22,11 @@ export default {
},
width: {
type: Number,
default: 270,
default: 1080,
},
height: {
type: Number,
default: 180,
default: 720,
},
shapesMin: {
type: Number,
......@@ -63,8 +63,8 @@ export default {
const curveStart = this.randint(10, 70)/100 * this.height;
const curveEnd = this.randint(10, 70)/100 * this.height;
ctx.strokeStyle = `rgba(255, 255, 255, ${this.randint(30, 40) / 100})`;
const curvedistance = this.randint(10, 20);
ctx.strokeStyle = `rgba(255, 255, 255, ${this.randint(50, 70) / 100})`;
const curvedistance = this.randint(20, 40);
const xFactor = this.randint(10, 45) / 100;
const yFactor = this.randint(10, 45) / 100;
for (let c = 0; c < numShape * 2; c++) {
......@@ -244,4 +244,4 @@ export default {
canvas {
background-color: #fff;
}
</style>
\ No newline at end of file
</style>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment