mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-11-20 12:44:38 +01:00
refactor(app.tsx): use constants instead of hard coded strings for better readablility (#1391)
don't use inline function as it will create a new refrence everytime
This commit is contained in:
4
src/time_constants.ts
Normal file
4
src/time_constants.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
// time in milliseconds
|
||||
export const FONT_LOAD_THRESHOLD = 1000;
|
||||
export const TAP_TWICE_TIMEOUT = 300;
|
||||
export const INITAL_SCENE_UPDATE_TIMEOUT = 5000;
|
||||
Reference in New Issue
Block a user