grab cursor on map_item if grabable

This commit is contained in:
Bachir Soussi Chiadmi 2024-02-06 15:43:06 +01:00
parent e88a4c30a7
commit f53e08a005

View File

@ -1896,6 +1896,9 @@ export default {
this.resetHoverElmt();
document.body.style.cursor = "auto";
}
if (this.is_open) {
document.body.style.cursor = "auto";
}
}.bind(this);
this.paper_main_object.onMouseMove = function(event){
@ -2009,7 +2012,11 @@ export default {
} else {
// console.log('move no result');
this.resetHoverElmt();
document.body.style.cursor = "auto";
if (this.detailsZoomValue > 1) {
document.body.style.cursor = "grab";
} else {
document.body.style.cursor = "auto";
}
}
}
}.bind(this);