Message List: Bring back bigger sensitive area

This commit is contained in:
Alexander Zinchuk 2021-06-23 16:29:14 +03:00
parent 487699122f
commit ae25c8723a

View File

@ -45,7 +45,7 @@ const isBigScreen = typeof window !== 'undefined' && window.innerHeight >= 900;
export const MIN_PASSWORD_LENGTH = 1;
export const MESSAGE_LIST_SENSITIVE_AREA = 500;
export const MESSAGE_LIST_SENSITIVE_AREA = 750;
export const MESSAGE_LIST_SLICE = isBigScreen ? 60 : 40;
export const MESSAGE_LIST_VIEWPORT_LIMIT = MESSAGE_LIST_SLICE * 2;