mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 11:29:50 +02:00
Fixed bug when mouse leaves window.
This commit is contained in:
parent
9f96129fb1
commit
c10d78c397
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ function keyReleaseEvent(event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function mousePressEvent(event) {
|
function mousePressEvent(event) {
|
||||||
if (alt) {
|
if (alt && !isActive) {
|
||||||
isActive = true;
|
isActive = true;
|
||||||
mouseLastX = event.x;
|
mouseLastX = event.x;
|
||||||
mouseLastY = event.y;
|
mouseLastY = event.y;
|
||||||
|
|
Loading…
Reference in a new issue