cercle politique admin front fine tunning
This commit is contained in:
@@ -382,6 +382,7 @@ export default {
|
||||
console.log(`${this.id} watch concernement.doleances o, n`, o, n);
|
||||
if (this.is_open && this.map_mode === "doleancer") {
|
||||
this.setPaperDoleances(true); // true for update=true
|
||||
this.focusOpenedDoleanceStep();
|
||||
}
|
||||
},
|
||||
deep: true
|
||||
@@ -2270,7 +2271,7 @@ export default {
|
||||
// focus on opened doleance step
|
||||
if (this.concernement.opened_doleance.field) {
|
||||
let paper_doleance = this.paper_main_object.children.doleances.children[`doleance_${this.concernement.opened_doleance.id}`];
|
||||
console.log('paper_doleance', paper_doleance);
|
||||
// console.log('paper_doleance', paper_doleance);
|
||||
paper_doleance.children.forEach((step) =>{
|
||||
// console.log('step.item_type', step.item_type);
|
||||
let active = false;
|
||||
@@ -2289,6 +2290,7 @@ export default {
|
||||
if (active) {
|
||||
// step.data.prevStrokeColor is for hover_elmt watch in MapConcernements.vue
|
||||
step.data.prevStrokeColor = step.strokeColor = "#01ffe2";
|
||||
step.bringToFront();
|
||||
} else {
|
||||
step.data.prevStrokeColor = step.strokeColor = "#fff";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user