Update editEntities to use left click for select

This commit is contained in:
Ryan Huffman 2015-02-04 10:43:55 -08:00
parent 09752589b8
commit 36238bb5df

View file

@ -535,6 +535,9 @@ var idleMouseTimerId = null;
var IDLE_MOUSE_TIMEOUT = 200; var IDLE_MOUSE_TIMEOUT = 200;
function mouseMoveEvent(event) { function mouseMoveEvent(event) {
if (!isActive) {
return;
}
if (idleMouseTimerId) { if (idleMouseTimerId) {
Script.clearTimeout(idleMouseTimerId); Script.clearTimeout(idleMouseTimerId);
} }
@ -602,7 +605,7 @@ function mouseReleaseEvent(event) {
} }
function mouseClickEvent(event) { function mouseClickEvent(event) {
if (!event.isRightButton) { if (!event.isLeftButton || !isActive) {
return; return;
} }