Message: Faster long-tap context menu
This commit is contained in:
parent
f8e7a74070
commit
2a1fc61fa7
@ -4,7 +4,7 @@ import { useState, useEffect, useCallback } from '../lib/teact/teact';
|
|||||||
import { IAnchorPosition } from '../types';
|
import { IAnchorPosition } from '../types';
|
||||||
import { IS_TOUCH_ENV, IS_SINGLE_COLUMN_LAYOUT } from '../util/environment';
|
import { IS_TOUCH_ENV, IS_SINGLE_COLUMN_LAYOUT } from '../util/environment';
|
||||||
|
|
||||||
const LONG_TAP_DURATION_MS = 250;
|
const LONG_TAP_DURATION_MS = 150;
|
||||||
const SELECTION_ANIMATION_DURATION_MS = 200;
|
const SELECTION_ANIMATION_DURATION_MS = 200;
|
||||||
|
|
||||||
let contextMenuCounter = 0;
|
let contextMenuCounter = 0;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user