From ba09db5ca33edba3da0df7fc9bc8ff376f2b6509 Mon Sep 17 00:00:00 2001 From: Christian Opitz Date: Sun, 12 Nov 2023 19:13:06 +0100 Subject: [PATCH] =?UTF-8?q?verbesserte=20Vorauswahl=20der=20Prototypen=20f?= =?UTF-8?q?=C3=BCr=20die=20Lebensmittel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/App.vue b/src/App.vue index 6e3daa2..0a65940 100644 --- a/src/App.vue +++ b/src/App.vue @@ -267,7 +267,9 @@ export default { lebensmittel_prototypen: [ { x: 10, y: 10, 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 hoehe_original = 450; - let offset_rand_ursprung_x = 14; - let offset_rand_ursprung_y = 14; + let offset_rand_ursprung_x = 14+4; + let offset_rand_ursprung_y = 14+4; 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 hoehe = hoehe_original - offset_rand_ursprung_y - offset_kreis_radius;