mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +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) {
|
||||
if (alt) {
|
||||
if (alt && !isActive) {
|
||||
isActive = true;
|
||||
mouseLastX = event.x;
|
||||
mouseLastY = event.y;
|
||||
|
|
Loading…
Reference in a new issue