doleancer: click on le problème to display it #2285 #2286

This commit is contained in:
2023-09-29 11:40:29 +02:00
parent c94679017e
commit 9b357e6d6e
2 changed files with 40 additions and 34 deletions

View File

@@ -1055,21 +1055,21 @@ export default {
// POINTS CARDINAUX
//
// // leprobleme
// g.addChild(new paper.Path.Circle({
// center: [this.pos.x, this.pos.y + r],
// radius: 3,
// style: {
// strokeColor: '#fff',
// strokeWidth: 2,
// fillColor: "rgba(255, 255, 255, 0.4)",
// },
// item_type: 'doleance_step',
// item_id: `leprobleme`,
// did: doleance.id,
// field: 'leprobleme'
// }));
// leprobleme
g.addChild(new paper.Path.Circle({
center: [this.pos.x, this.pos.y + r],
radius: 3 * this.scale,
style: {
strokeColor: '#fff',
strokeWidth: 2,
fillColor: "rgba(255, 255, 255, 0.9)",
},
item_type: 'doleance_step',
item_id: `leprobleme`,
did: doleance.id,
field: 'leprobleme'
}));
// adresse de la doleance
g.addChild(new paper.Path.Circle({