drag if not editable bug fix

This commit is contained in:
Bachir Soussi Chiadmi 2025-06-02 15:21:53 +02:00
parent b9b04f1634
commit b9f9551efa

View File

@ -2693,10 +2693,10 @@ export default {
}.bind(this); }.bind(this);
/* /*
* works i correlation with updateDetailsZoomScale() * works in correlation with updateDetailsZoomScale()
*/ */
this.paper_main_object.onMouseDrag = async function(event){ this.paper_main_object.onMouseDrag = async function(event){
if (this.is_open && this.map_mode === 'terraindevie' && this.concernement.can_update) { if (this.is_open && this.map_mode === 'terraindevie') { // && this.concernement.can_update
// console.log('paper concernement onMouseDrag', event, this); // console.log('paper concernement onMouseDrag', event, this);
event.stopPropagation(); event.stopPropagation();
event.preventDefault(); event.preventDefault();