mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-21 23:53:51 +00:00
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
This commit is contained in:
parent
476ed66932
commit
8874c250da
1 changed files with 1 additions and 1 deletions
|
|
@ -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) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue