puissance agir hover events both ways (map <-> cartouche) are done

This commit is contained in:
2023-07-06 22:43:27 +02:00
parent 19e61bbcd7
commit 213f151557
5 changed files with 50 additions and 7 deletions

View File

@@ -153,7 +153,7 @@ export default {
}
}
if (o && o.paper_id) {
if (o && o.paper_id && (!n || o.paper_id !== n.paper_id)) {
let oitem = paper.project.getItem({id: o.paper_id})
console.log('watch hover_element oitem', oitem);
if (!oitem.is_symbol_instance) { // not symbol instance
@@ -969,7 +969,7 @@ export default {
</ul>
</nav>
<ConcernementMapPopup
v-if="hover_elmt && hover_elmt.type !== 'doleance_step'"
v-if="hover_elmt && hover_elmt.type !== 'doleance_step' && !hover_elmt.no_popup"
:infos="hover_elmt"
/>
</template>