diff --git a/src/components/ConcernementMapItem.vue b/src/components/ConcernementMapItem.vue
index 7daae95..8d0be25 100644
--- a/src/components/ConcernementMapItem.vue
+++ b/src/components/ConcernementMapItem.vue
@@ -565,12 +565,13 @@ export default {
});
for (let i = 0; i < this.entites.length; i++) {
if (this.entites[i].entite.agissante) {
- let instance = new paper.SymbolItem(this.paper_symbol_definitions['entite']);
- instance.name = 'entite';
+ let instance = new paper.SymbolItem(this.paper_symbol_definitions['entite_action']);
+ instance.name = 'entite_action';
instance.position = new paper.Point([this.pos.x + this.entites[i].display.pos.x, this.pos.y + this.entites[i].display.pos.y]);
instance.fillColor = '#000';
+ instance.scale(0.2);
instance.item_id = this.entites[i].entite.id;
- instance.item_type = 'entite';
+ instance.item_type = 'entite_action';
instance.is_symbol_instance = true;
g.addChild(instance)
}
@@ -909,6 +910,7 @@ export default {
// choose wich one to show, if one
switch (this.map_mode) {
case 'terraindevie':
+ case 'action':
this.paper_main_object.children.boussole_bg.visible = true;
break;
case 'puissancedagir':
diff --git a/src/components/ConcernementMapPopup.vue b/src/components/ConcernementMapPopup.vue
index 3e6cc3e..086fd9e 100644
--- a/src/components/ConcernementMapPopup.vue
+++ b/src/components/ConcernementMapPopup.vue
@@ -26,7 +26,7 @@ export default {
// console.log(`popup created type: ${this.infos.type}`, this.infos);
if (this.infos.type === 'concernement') {
this.concernement = this.concernementsByID[this.infos.id];
- } else if(this.infos.type === 'entite') {
+ } else if(this.infos.type === 'entite' || this.infos.type === 'entite_action') {
this.entite = this.allEntitesById[this.infos.id];
} else if (this.infos.type === 'besoin') {
this.besoin = this.allBesoinsById[this.infos.id];
@@ -55,7 +55,7 @@ export default {
handler (n, o){
if (n.type === 'concernement') {
this.concernement = this.concernementsByID[n.id];
- } else if(n.type === 'entite') {
+ } else if(n.type === 'entite' || n.type === 'entite_action') {
this.entite = this.allEntitesById[this.infos.id];
} else if (n.type === 'besoin') {
this.besoin = this.allBesoinsById[this.infos.id];
@@ -132,7 +132,7 @@ export default {
-