mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
fix focus issue when mouse is offscreen
This commit is contained in:
parent
883c758722
commit
abee3e8b96
1 changed files with 4 additions and 0 deletions
|
@ -177,6 +177,10 @@ function goActive() {
|
|||
|
||||
UserActivityLogger.toggledAway(false);
|
||||
MyAvatar.isAway = false;
|
||||
|
||||
if (!Window.hasFocus()) {
|
||||
Window.setFocus();
|
||||
}
|
||||
}
|
||||
|
||||
MyAvatar.wentAway.connect(setAwayProperties);
|
||||
|
|
Loading…
Reference in a new issue