mirror of
https://github.com/Doodle3D/Doodle3D-Transform.git
synced 2024-07-01 05:51:24 +02:00
13 lines
472 B
JavaScript
13 lines
472 B
JavaScript
|
import * as envs from 'src/js/constants/envs.js';
|
||
|
import bowser from 'bowser';
|
||
|
|
||
|
export const CLICK_TIME_THRESHOLD = 300;
|
||
|
export const DOUBLE_CLICK_TIME_THRESHOLD = 300;
|
||
|
export const MAX_CLICK_MOVE_THRESHOLD = 10;
|
||
|
// On android and iOS autofocus means the keyboard pops up for one second and then hides
|
||
|
// Disable autofocus on these devices
|
||
|
export const AUTO_FOCUS_TEXT_FIELDS = !(bowser.mobile || bowser.tablet);
|
||
|
export const REQUEST_CONFIG = {
|
||
|
LARGE: { timeout: 0 }
|
||
|
};
|