Tldraw/apps/dotcom/src/components
Steve Ruiz f6a2e352de
Improve back to content (#3532)
This PR improves the "back to content" behavior. Rather than using an
interval, we now add a "camera-stopped" event that triggers the check.

### Change Type

- [x] `sdk` — Changes the tldraw SDK
- [x] `improvement` 

### Test Plan

1. Create some shapes, then move the camera to an empty part of the
canvas.
2. Check that the back to content button appears.
3. Ensure that the back to content button does not appear when the
canvas is empty.
2024-04-19 12:07:33 +00:00
..
BoardHistoryLog unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
BoardHistorySnapshot tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
DefaultErrorFallback tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
DocumentName Allow users to edit the document title by double clicking it even when editing a shape. (#3459) 2024-04-13 19:47:37 +00:00
ErrorPage unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
Head unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
PeopleMenu tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
ThemeUpdater tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
CursorChatBubble.tsx Fix cursor chat bubble position. (#3042) 2024-03-04 14:12:21 +00:00
ExportMenu.tsx tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
FileMenu.tsx Menu updates / fix flip / add export / remove Shape menu (#3115) 2024-03-11 18:31:28 +00:00
IFrameProtector.tsx Improve back to content (#3532) 2024-04-19 12:07:33 +00:00
Links.tsx tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
LocalEditor.tsx quick fixes (#3128) 2024-03-12 11:50:12 +00:00
MultiplayerEditor.tsx Enable document name (#3150) 2024-03-14 10:39:33 +00:00
ShareButton.tsx tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
ShareMenu.tsx tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00
SnapshotsEditor.tsx quick fixes (#3128) 2024-03-12 11:50:12 +00:00
SneakyOnDropOverride.ts ui: make toasts look more toasty (#2988) 2024-03-27 09:41:13 +00:00
StoreErrorScreen.tsx tldraw_final_v6_final(old version).docx.pdf (#2998) 2024-02-29 16:06:19 +00:00