no click on logo
This commit is contained in:
parent
1532b9190a
commit
d4e6dd5c3a
1 changed files with 5 additions and 3 deletions
|
@ -34,9 +34,11 @@ const ProjectListItem: React.FC<{
|
|||
}, [project])
|
||||
|
||||
const select = useCallback(() => {
|
||||
if (depth !== 0) {
|
||||
getStudio().transaction(({stateEditors}) => {
|
||||
stateEditors.studio.historic.panels.outline.selection.set([project])
|
||||
})
|
||||
}
|
||||
}, [project])
|
||||
|
||||
const {collapsed, setCollapsed} = useCollapseStateInOutlinePanel(project)
|
||||
|
|
Loading…
Reference in a new issue