50bae6d4a1
Keyboard shortcuts for selecting tools still worked in readonly mode. This now disables them - except for select, hand, and zoom tool. ### Change Type - [x] `patch` — Bug Fix ### Test Plan 1. Create a readonly room. 2. Press keyboard shortcuts for tools and make sure we don't transition to them (tools toolbar should always show either select or hand tool as active). 3. Also make sure the keyboard shortcuts still work in non readonly rooms. - [ ] Unit Tests - [ ] Webdriver tests ### Release Notes - Disable keyboard shortcut events for tools in readonly mode. We only allow the select, hand tools, and zoom tool. |
||
---|---|---|
.. | ||
assets | ||
editor | ||
file-format | ||
polyfills | ||
primitives | ||
tldraw | ||
tlschema | ||
tlstore | ||
tlsync-client | ||
tlvalidate | ||
ui | ||
utils |