mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Merge pull request #13371 from danteruiz/fix-focus-issues
fix focus issues when mouse is offscreen
This commit is contained in:
commit
7ca6dfc8c5
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