mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 16:58:09 +02:00
Update editEntities to use left click for select
This commit is contained in:
parent
09752589b8
commit
36238bb5df
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue