made the first camenbert of doleance

This commit is contained in:
2023-06-06 18:27:13 +02:00
parent 894b0219c5
commit 4f82e8021d
2 changed files with 176 additions and 54 deletions

View File

@@ -5,22 +5,6 @@ import { computed } from 'vue'
import MapBackground from '@components/MapBackground.vue'
// https://brm.io/matter-js/docs/classes/Engine.html
// import {
// Engine,
// // Render,
// // World,
// Bodies,
// // Body,
// // Events,
// Composite,
// // Composites,
// // Constraint,
// // Vertices,
// // Mouse,
// // MouseConstraint,
// // Query,
// // Common
// } from "matter-js";
import Matter from "matter-js";
import MatterAttractors from "matter-attractors";
@@ -46,11 +30,10 @@ export default {
// MATTER
engine: null,
world: null,
// render: null,
// mouse: null,
mapPopupData: null,
// PAPERJS
paper: null
paper: null,
//
mapPopupData: null,
}
},
provide() {
@@ -171,7 +154,7 @@ export default {
<a href="#action" @click="setMapMode('action')"><span class="icon action"></span> action</a>
</li>
<li>
<a href="#doleancer" @click="setMapMode('doleancer')"><span class="icon doleancer"></span> doléancer</a>
<a href="#doleancer" @click="setMapMode('doleancer')"><span class="icon doleancer"></span> cercle politique</a>
</li>
</ul>
</nav>