()
| 1811 | |
| 1812 | #[wasm_bindgen] |
| 1813 | pub fn bloom_disable_cursor() { |
| 1814 | let input = &mut engine().input; |
| 1815 | input.cursor_disabled = true; |
| 1816 | input.clear_mouse_delta(); |
| 1817 | // JS glue also calls canvas.requestPointerLock() |
| 1818 | } |
| 1819 | |
| 1820 | #[wasm_bindgen] |
| 1821 | pub fn bloom_enable_cursor() { |
nothing calls this directly
no test coverage detected