diff --git a/src/app/App.tsx b/src/app/App.tsx index 5c2f8340..e067619c 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -9340,9 +9340,10 @@ export function App({ store, initialStatusMessage }: AppProps) {
{pathList.map((path, pathIndex) => { const label = getScenePathLabel(path, pathIndex); - const isSelected = - editorState.selection.kind === "paths" && - editorState.selection.ids.includes(path.id); + const isSelected = isPathSelected( + editorState.selection, + path.id + ); const authoredStateSummary = formatAuthoredObjectStateSummary(path);