Deselect planes if map is clicked

This commit is contained in:
Carlos Salaverria 2016-08-30 15:22:34 -05:00
parent d5bd164169
commit 5de3bffcfa

View file

@ -538,6 +538,9 @@ function initialize_map() {
if (hex) {
selectPlaneByHex(hex, (evt.type === 'dblclick'));
evt.stopPropagation();
} else {
deselectAllPlanes();
evt.stopPropagation();
}
});