|
@@ -463,13 +463,13 @@ export default {
|
|
|
this.paper_main_object.addChild(this.setPaperContour());
|
|
|
|
|
|
if (this.concernement.has_puissancedagir) {
|
|
|
- this.addNewPaperSymbolInstance('puissanceagir_icon');
|
|
|
+ this.addNewPaperSymbolInstance('puissanceagir_icon', false, 0.7);
|
|
|
}
|
|
|
if (this.concernement.has_agissantes) {
|
|
|
this.paper_main_object.addChild(this.setPaperAgissantesIcons());
|
|
|
}
|
|
|
if (this.concernement.has_doleance) {
|
|
|
- this.addNewPaperSymbolInstance('doleance_icon');
|
|
|
+ this.addNewPaperSymbolInstance('doleance_icon', false, 0.7);
|
|
|
}
|
|
|
|
|
|
this.initPaperEvents()
|
|
@@ -521,12 +521,13 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- addNewPaperSymbolInstance(name, back){
|
|
|
+ addNewPaperSymbolInstance(name, back, scale){
|
|
|
let instance = new paper.SymbolItem(this.paper_symbol_definitions[name]); // , {x:0,y:0}
|
|
|
instance.name = name;
|
|
|
// instance.pivot = new paper.Point({x:0,y:0});
|
|
|
instance.position = this.pos;
|
|
|
- instance.scale(this.scale*0.7);
|
|
|
+ let s = scale ? this.scale * scale : this.scale;
|
|
|
+ instance.scale(s);
|
|
|
// instance.locked = true;
|
|
|
this.paper_main_object.addChild(instance);
|
|
|
if (back) {
|