grab cursor on map_item if grabable
This commit is contained in:
parent
e88a4c30a7
commit
f53e08a005
@ -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,9 +2012,13 @@ export default {
|
||||
} else {
|
||||
// console.log('move no result');
|
||||
this.resetHoverElmt();
|
||||
if (this.detailsZoomValue > 1) {
|
||||
document.body.style.cursor = "grab";
|
||||
} else {
|
||||
document.body.style.cursor = "auto";
|
||||
}
|
||||
}
|
||||
}
|
||||
}.bind(this);
|
||||
|
||||
this.paper_main_object.onClick = async function(event){
|
||||
|
Loading…
x
Reference in New Issue
Block a user