Center info icon. Show highlight hover with select box

This commit is contained in:
James Wilson 2018-08-03 15:03:19 -05:00
parent 974e962a55
commit 3ec6ec1a9d
3 changed files with 8 additions and 6 deletions

View file

@ -1360,7 +1360,6 @@ function sortBy(id,sc,se) {
function selectPlaneByHex(hex,autofollow) {
//console.log("select: " + hex);
// If SelectedPlane has something in it, clear out the selected
removeHighlight();
if (SelectedAllPlanes) {
deselectAllPlanes();
}
@ -1404,10 +1403,6 @@ function selectPlaneByHex(hex,autofollow) {
}
function highlightPlaneByHex(hex) {
// if we've selected a plane, don't show the highlighting box
if (SelectedPlane != null) {
return;
}
if (hex != null) {
HighlightedPlane = hex;