Message: Faster long-tap context menu

This commit is contained in:
Alexander Zinchuk 2021-08-16 16:58:51 +03:00
parent f8e7a74070
commit 2a1fc61fa7

View File

@ -4,7 +4,7 @@ import { useState, useEffect, useCallback } from '../lib/teact/teact';
import { IAnchorPosition } from '../types';
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;
let contextMenuCounter = 0;