Deselect planes if map is clicked
This commit is contained in:
parent
d5bd164169
commit
5de3bffcfa
|
@ -538,6 +538,9 @@ function initialize_map() {
|
|||
if (hex) {
|
||||
selectPlaneByHex(hex, (evt.type === 'dblclick'));
|
||||
evt.stopPropagation();
|
||||
} else {
|
||||
deselectAllPlanes();
|
||||
evt.stopPropagation();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue