Add __FORCE_NO_TOUCH_DEVICE__ to not use fallback
This commit is contained in:
parent
b1745d5cbc
commit
5a9a81c075
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue