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])
|
}, [project])
|
||||||
|
|
||||||
const select = useCallback(() => {
|
const select = useCallback(() => {
|
||||||
getStudio().transaction(({stateEditors}) => {
|
if (depth !== 0) {
|
||||||
stateEditors.studio.historic.panels.outline.selection.set([project])
|
getStudio().transaction(({stateEditors}) => {
|
||||||
})
|
stateEditors.studio.historic.panels.outline.selection.set([project])
|
||||||
|
})
|
||||||
|
}
|
||||||
}, [project])
|
}, [project])
|
||||||
|
|
||||||
const {collapsed, setCollapsed} = useCollapseStateInOutlinePanel(project)
|
const {collapsed, setCollapsed} = useCollapseStateInOutlinePanel(project)
|
||||||
|
|
Loading…
Reference in a new issue