From 8874c250dae168e680d6274a82613705a540d05f Mon Sep 17 00:00:00 2001 From: AzaezelX Date: Fri, 30 Jan 2026 10:34:19 -0600 Subject: [PATCH] folllowup to https://github.com/TorqueGameEngines/Torque3D/pull/1661 if onImage (the up/down arrow, not to be confused with the class icon) go ahead and open/close the tree view wether we're selected or not --- Engine/source/gui/controls/guiTreeViewCtrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/source/gui/controls/guiTreeViewCtrl.cpp b/Engine/source/gui/controls/guiTreeViewCtrl.cpp index e0a2d90e0..e8f13d38b 100644 --- a/Engine/source/gui/controls/guiTreeViewCtrl.cpp +++ b/Engine/source/gui/controls/guiTreeViewCtrl.cpp @@ -3519,7 +3519,7 @@ void GuiTreeViewCtrl::onMouseDown(const GuiEvent & event) return; // - if ((mFullRowSelect || hitFlags.test(OnImage)) && wasSelected) + if (hitFlags.test(OnImage) || ((mFullRowSelect || hitFlags.test(OnIcon)) && wasSelected)) { item->setExpanded(!item->isExpanded()); if( !item->isInspectorData() && item->mState.test(Item::VirtualParent) )