mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: Change title to Excalidraw after a timeout (#2656)
* feat: Change title to Excalidraw after a timeout * clear timeout
This commit is contained in:
parent
b0eeb8e6e6
commit
6adb45ef5a
4 changed files with 16 additions and 10 deletions
|
@ -1,5 +1,7 @@
|
|||
import { FontFamily } from "./element/types";
|
||||
|
||||
export const APP_NAME = "Excalidraw";
|
||||
|
||||
export const DRAGGING_THRESHOLD = 10; // 10px
|
||||
export const LINE_CONFIRM_THRESHOLD = 10; // 10px
|
||||
export const ELEMENT_SHIFT_TRANSLATE_AMOUNT = 5;
|
||||
|
@ -85,3 +87,4 @@ export const STORAGE_KEYS = {
|
|||
// time in milliseconds
|
||||
export const TAP_TWICE_TIMEOUT = 300;
|
||||
export const TOUCH_CTX_MENU_TIMEOUT = 500;
|
||||
export const TITLE_TIMEOUT = 10000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue