New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clear element path on unselect #374
Conversation
✅ Deploy Preview for bldrs-share ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
@pablo-mayrgundter PTAL |
src/Containers/CadView.test.jsx
Outdated
viewer._loadedModel.ifcManager.getSpatialStructure.mockReturnValueOnce(testTree) | ||
const {result} = renderHook(() => useStore((state) => state)) | ||
await act(() => { | ||
// result.current.setSelectedElement(targetEltId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These seem like good ones to add. Still WIP?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep totally - forgot to turn it on
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PTAL
src/Containers/CadView.test.jsx
Outdated
viewer._loadedModel.ifcManager.getSpatialStructure.mockReturnValueOnce(testTree) | ||
const {result} = renderHook(() => useStore((state) => state)) | ||
await act(() => { | ||
// result.current.setSelectedElement(targetEltId) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep totally - forgot to turn it on
This PR addresses #334