Skip to content
Snippets Groups Projects
Commit 8e82625c authored by Ron Lucke's avatar Ron Lucke
Browse files

fix #3905

Closes #3905

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