mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 13:24:24 +00:00
begin of seat numbering impl
This commit is contained in:
@@ -74,6 +74,9 @@ export default {
|
|||||||
calculateChairs () {
|
calculateChairs () {
|
||||||
// Size of seat at scale 1 is 32px
|
// Size of seat at scale 1 is 32px
|
||||||
// w & h are normalised
|
// 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 w = Math.floor( this.w / this.scaleFactor );
|
||||||
let h = Math.floor( this.h / this.scaleFactor );
|
let h = Math.floor( this.h / this.scaleFactor );
|
||||||
const size = 33;
|
const size = 33;
|
||||||
|
|||||||
Reference in New Issue
Block a user