mirror of
https://github.com/danog/telegram-tt.git
synced 2024-11-27 12:55:11 +01:00
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 { 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;
|
||||
|
Loading…
Reference in New Issue
Block a user