diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-06-19 12:50:25 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-06-19 12:50:25 -0700 |
commit | 04df9e7deda3ebf698ea0cea5cc58c04203f2c7f (patch) | |
tree | 5140d1af7e66ab9072b6eaf7118ca1a2f267ce19 | |
parent | 88983850f344ed548cac89c6e263c58afab1fcc0 (diff) |
assume pointer lock in workers, to get some mouse support working
-rw-r--r-- | src/library_browser.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/library_browser.js b/src/library_browser.js index 544ba4dc..71aeeaae 100644 --- a/src/library_browser.js +++ b/src/library_browser.js @@ -64,7 +64,11 @@ mergeInto(LibraryManager.library, { } }, isFullScreen: false, +#if PROXY_TO_WORKER == 0 pointerLock: false, +#else + pointerLock: true, // XXX assume pointerlock in workers, for now +#endif moduleContextCreatedCallbacks: [], workers: [], |