begin of seat numbering impl

This commit is contained in:
janis
2023-09-18 16:50:22 +02:00
parent 36ad4c5122
commit 163564ae7d

View File

@@ -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;