set map_mode on first load

This commit is contained in:
2023-05-17 16:24:10 +02:00
parent 9b2490228f
commit 68ae6a20f3
3 changed files with 16 additions and 4 deletions

View File

@@ -76,9 +76,6 @@ export default {
this.engine = Matter.Engine.create(engineOptions);
this.engine.gravity.scale = 0;
this.world = this.engine.world;
// check map_mode
console.log('mapconcernements created', this.$root);
},
mounted() {
this.canvasMap.canvas = this.$refs['canvas-map'];