Fix cursor chat in context menu. (#3435)

This PR fixes flipped boolean logic for displaying the cursor chat
option on coarse pointer devices.

### Change Type

- [x] `dotcom` — Changes the tldraw.com web app
- [x] `bugfix` — Bug fix
pull/3438/head
Steve Ruiz 2024-04-10 13:51:59 +01:00 zatwierdzone przez GitHub
rodzic f40099e04e
commit ae6ecf35b1
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -7,7 +7,7 @@ export function CursorChatMenuItem() {
const shouldShow = useValue(
'show cursor chat',
() => {
return editor.getInstanceState().isCoarsePointer && !editor.getSelectedShapes().length
return !editor.getInstanceState().isCoarsePointer
},
[editor]
)