A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix(outliner): clicking a folder clears the entity selection (single-selection)
esengine2361160b08c4
diff --git a/desktop/src/panels/Outliner.tsx b/desktop/src/panels/Outliner.tsxindex 9c986dbfe..34c350d63 100644--- a/desktop/src/panels/Outliner.tsx+++ b/desktop/src/panels/Outliner.tsx@@ -211,6 +211,10 @@ export function Outliner() {const onRowClick = (item: OutlinerItem, e: React.MouseEvent) => {useOutliner.getState().setCursor(item.key);if (item.kind === 'folder') {+ // Selecting a folder clears the entity selection (single-selection model), so+ // the previously-selected entity stops looking selected; the folder's cursor+ // highlight is now the only one. The twist still toggles expansion.+ useSelection.getState().select(null);toggleExpanded(item.key);return;}