verbesserte Vorauswahl der Prototypen für die Lebensmittel
All checks were successful
ci/woodpecker/push/default Pipeline was successful
All checks were successful
ci/woodpecker/push/default Pipeline was successful
This commit is contained in:
parent
178e3ab9a8
commit
ba09db5ca3
1 changed files with 5 additions and 3 deletions
|
@ -267,7 +267,9 @@ export default {
|
||||||
lebensmittel_prototypen: [
|
lebensmittel_prototypen: [
|
||||||
{ x: 10, y: 10, color: "blue" },
|
{ x: 10, y: 10, color: "blue" },
|
||||||
{ x: 5, y: 50, color: "blue" },
|
{ x: 5, y: 50, color: "blue" },
|
||||||
{ x: 50, y: 5, color: "blue" },
|
{ x: 40, y: 5, color: "blue" },
|
||||||
|
{ x: 25, y: 40, color: "blue" },
|
||||||
|
{ x: 60, y: 60, color: "blue" },
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
||||||
|
@ -588,8 +590,8 @@ export default {
|
||||||
let breite_original = 800;
|
let breite_original = 800;
|
||||||
let hoehe_original = 450;
|
let hoehe_original = 450;
|
||||||
|
|
||||||
let offset_rand_ursprung_x = 14;
|
let offset_rand_ursprung_x = 14+4;
|
||||||
let offset_rand_ursprung_y = 14;
|
let offset_rand_ursprung_y = 14+4;
|
||||||
let offset_kreis_radius = 16; // damit die Kreise nicht außerhalb gezeichnet werden
|
let offset_kreis_radius = 16; // damit die Kreise nicht außerhalb gezeichnet werden
|
||||||
let breite = breite_original - offset_rand_ursprung_x - offset_kreis_radius;
|
let breite = breite_original - offset_rand_ursprung_x - offset_kreis_radius;
|
||||||
let hoehe = hoehe_original - offset_rand_ursprung_y - offset_kreis_radius;
|
let hoehe = hoehe_original - offset_rand_ursprung_y - offset_kreis_radius;
|
||||||
|
|
Loading…
Reference in a new issue