search misc: results links, ...

This commit is contained in:
2023-08-18 12:52:56 +02:00
parent 6d00fecdb3
commit c7b71e5530
7 changed files with 118 additions and 41 deletions

View File

@@ -72,6 +72,7 @@ export default {
...mapState(CommonStore,['hover_elmt',
'map_item_ray',
'cartouch_width',
'cartouch_is_opened',
'paper_symbol_definitions'])
},
created () {
@@ -1164,6 +1165,12 @@ export default {
this.paper_main_object.onMouseMove = function(event){
// console.log(`onmousemove ${this.id}`);
// prevent hover map item mouse event if cartouch is opened
if (this.cartouch_is_opened) {
return;
}
if (!this.is_opened) {
if (!this.opened_concernement && this.isFocused()) { // only if no concernement is opened and is this focused
this.setHoverElmt({
@@ -1228,6 +1235,12 @@ export default {
this.paper_main_object.onClick = function(event){
console.log('paper concernement onClick');
// prevent hover map item mouse event if cartouch is opened
if (this.cartouch_is_opened) {
return;
}
if (!this.is_opened) { // si ce concernement n'est pas ouvet
if (!this.opened_concernement) { // si aucun concernement n'est ouvert
console.log(`Open me ${this.id}`);