update image size to be ~3kb and check speed every 15seconds

This commit is contained in:
Aakansha Doshi 2021-02-07 02:55:03 +05:30
parent 336b7222de
commit 7cadc3de52
3 changed files with 17 additions and 3 deletions

View file

@ -8,6 +8,8 @@ export const ELEMENT_SHIFT_TRANSLATE_AMOUNT = 5;
export const ELEMENT_TRANSLATE_AMOUNT = 1;
export const TEXT_TO_CENTER_SNAP_THRESHOLD = 30;
export const SHIFT_LOCKING_ANGLE = Math.PI / 12;
export const NETWORK_SPEED_THRESHOLD = 15000;
export const CURSOR_TYPE = {
TEXT: "text",
CROSSHAIR: "crosshair",