From 5a9a81c07574503e460a002ab41f34c36459846b Mon Sep 17 00:00:00 2001 From: Daniel Hammerschmidt Date: Wed, 17 Sep 2025 03:48:32 +0200 Subject: [PATCH] Add __FORCE_NO_TOUCH_DEVICE__ to not use fallback --- core/util/cursor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/util/cursor.js b/core/util/cursor.js index 67c54575..3f14b95c 100644 --- a/core/util/cursor.js +++ b/core/util/cursor.js @@ -10,7 +10,8 @@ import { supportsCursorURIs, isTouchDevice } from './browser.js'; // isTouchDevice is true even if there is no touch device, in // this case useFallback ist also true and cursor URIs are never // used. -const useFallback = !supportsCursorURIs || isTouchDevice; +const __FORCE_NO_TOUCH_DEVICE__ = false; +const useFallback = !supportsCursorURIs || (!__FORCE_NO_TOUCH_DEVICE__ && isTouchDevice); export default class Cursor { constructor() {