better concernment and entite content display

This commit is contained in:
2023-05-24 22:16:35 +02:00
parent 453e07ec31
commit b360987c76
5 changed files with 90 additions and 24 deletions

View File

@@ -121,7 +121,7 @@ export default {
},
hover_elmt: {
handler (n, o) {
console.log('watch hover_elmt', o, n);
// console.log('watch hover_elmt', o, n);
if (n && n.type === 'concernement' && n.id === this.id) {
this.isHover = true;
} else {
@@ -704,7 +704,7 @@ export default {
this.ctx.arc(part.position.x, part.position.y, 0.3*this.scale, 0, 2 * Math.PI, false);
// console.log(part.id, this.opened_entite_id);
if (part.id === this.opened_entite_id) {
this.ctx.fillStyle = "#F00";
this.ctx.fillStyle = "#01ffe2";
} else {
this.ctx.fillStyle = "#000";
}
@@ -724,7 +724,7 @@ export default {
this.ctx.arc(part.position.x, part.position.y, 1*this.scale, 0, 2 * Math.PI, false);
// console.log(part.id, this.opened_entite_id);
if (part.id === this.opened_entite_id) {
this.ctx.fillStyle = "#F00";
this.ctx.fillStyle = "#01ffe2";
} else {
this.ctx.fillStyle = "#000";
}