From 163564ae7d027a4b2993c594e109afe3a03ab0e6 Mon Sep 17 00:00:00 2001 From: janis Date: Mon, 18 Sep 2023 16:50:22 +0200 Subject: [PATCH] begin of seat numbering impl --- .../seatplan/userApp/seatplanComponents/seats/rectangular.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/webapp/main/src/components/seatplan/userApp/seatplanComponents/seats/rectangular.vue b/src/webapp/main/src/components/seatplan/userApp/seatplanComponents/seats/rectangular.vue index ffa6a09..6e897bc 100644 --- a/src/webapp/main/src/components/seatplan/userApp/seatplanComponents/seats/rectangular.vue +++ b/src/webapp/main/src/components/seatplan/userApp/seatplanComponents/seats/rectangular.vue @@ -74,6 +74,9 @@ export default { calculateChairs () { // Size of seat at scale 1 is 32px // w & h are normalised + // TODO: numbering and numbering direction + // TODO: get component number and numbering direction as well + console.log( this.data ); let w = Math.floor( this.w / this.scaleFactor ); let h = Math.floor( this.h / this.scaleFactor ); const size = 33;