kopia lustrzana https://github.com/Tldraw/Tldraw
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 fixpull/3438/head
rodzic
f40099e04e
commit
ae6ecf35b1
|
@ -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]
|
||||
)
|
||||
|
|
Ładowanie…
Reference in New Issue