Fix edit.js highlighting an object after being turned off

This commit is contained in:
Ryan Huffman 2015-07-16 11:07:01 -07:00
parent 1e6c2e737a
commit cf0940a65d

View file

@ -656,7 +656,9 @@ function mouseMove(event) {
function handleIdleMouse() {
idleMouseTimerId = null;
highlightEntityUnderCursor(lastMousePosition, true);
if (isActive) {
highlightEntityUnderCursor(lastMousePosition, true);
}
}
function highlightEntityUnderCursor(position, accurateRay) {