Commit d0643c9
committed
[VirtualInput] Stop updating the camera angle if window is inactive
Fixes a tiny annoyance during development.
If you have "pauseOnLostFocus" disabled and hat if you Tab out of the game and move your cursor,
the camera would still follow your mouse. If you wanted to copy something from ingame,
your cursor would move constantly, making it very annoying1 parent 4b98ba6 commit d0643c9
1 file changed
Lines changed: 3 additions & 2 deletions
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | | - | |
69 | | - | |
| 69 | + | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
0 commit comments