Skip to content

Virtual whiteboard for sketching hand-drawn like diagrams

fix(editor): reduce cursor hint cooldown to 30s (#12174)

David Luzarc12a8cd037f5
diff --git a/packages/excalidraw/components/CursorHint.tsx b/packages/excalidraw/components/CursorHint.tsx
index 44a527f85e..44dd25d9aa 100644
--- a/packages/excalidraw/components/CursorHint.tsx
+++ b/packages/excalidraw/components/CursorHint.tsx
@@ -30,7 +30,7 @@ const CURSOR_HINT_GAP = 16;
* are suppressed (repeatedly re-picking a tool you just used doesn't need
* the reminder). Cycling arrow types and numeric shortcuts bypass this.
*/
-export const CURSOR_HINT_COOLDOWN = 5 * 60 * 1000;
+export const CURSOR_HINT_COOLDOWN = 30 * 1000;
export const cursorHintAtom = atom<{
content: React.ReactNode;