Przeglądaj źródła

picto action with all entite #2241

bach 1 rok temu
rodzic
commit
fd30488a3b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/components/ConcernementMapItem.vue

+ 1 - 1
src/components/ConcernementMapItem.vue

@@ -620,7 +620,7 @@ export default {
       for (let i = 0; i < this.concernement.revisions_byid[this.concernement.active_revision].entites.length; i++) {
         let entite = this.concernement.revisions_byid[this.concernement.active_revision].entites[i];
         // use paper symbol
-        let symbol_name = entite.entite ? 'entite' : 'entite_hidden';
+        let symbol_name = entite.entite ? entite.entite.agissante ? 'entite_action' : 'entite' : 'entite_hidden';
         let instance = new paper.SymbolItem(this.paper_symbol_definitions[symbol_name]);
         instance.name = 'entite';
         instance.position = new paper.Point([this.pos.x + entite.display.pos.x * this.scale, this.pos.y + entite.display.pos.y * this.scale]);