We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8e9b39 commit 8d0b750Copy full SHA for 8d0b750
1 file changed
frontend/src/components/widgets/inputs/NumberInput.svelte
@@ -315,8 +315,8 @@
315
// Don't drag the text value from is input element
316
e.preventDefault();
317
318
- // Get the click target and set the requestPointerLock immediately
319
- // Safari and Firefox Nightly require requestPointerLock() to be called directly inside the pointerdown handler.
+ // Get the event target and set the requestPointerLock immediately
+ // Safari and Firefox Nightly require requestPointerLock() to be called directly inside the pointerdown handler instead of later in beginDrag().
320
const target = e.target || undefined;
321
if (!(target instanceof HTMLElement)) return;
322
0 commit comments