front admin DONE
This commit is contained in:
@@ -349,6 +349,7 @@ export default {
|
||||
// do not trigger on first fill of the property (if o is null)
|
||||
if (o) {
|
||||
this.resetPaperEntitesAndContours();
|
||||
this.resetPaperEntitesProximite();
|
||||
}
|
||||
},
|
||||
deep: true
|
||||
@@ -1198,6 +1199,14 @@ export default {
|
||||
}
|
||||
return g;
|
||||
},
|
||||
resetPaperEntitesProximite(){
|
||||
if (this.paper_main_object.children['entites_proximites']) {
|
||||
this.paper_main_object.children['entites_proximites'].remove();
|
||||
}
|
||||
if (this.concernement.has_proximites) {
|
||||
this.paper_main_object.addChild(this.setPaperEntitesProximite());
|
||||
}
|
||||
},
|
||||
setPaperEntitesProximiteReferences(){
|
||||
console.log('setPaperEntitesProximiteReferences')
|
||||
let g = new paper.Group({
|
||||
|
||||
Reference in New Issue
Block a user