mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
GuiTreeView bug in buildVisibleTree
There was a bug in buildVisibleTree, it should be setting the RebuildVisible flag, not clearing it. The clip rectangle did not appear to be updating when expanding items or calling scrollVisible, which expands all the items to make a particular item visible. This would cause part of the tree to be cut off. Setting the RebuildVisible flag made the problem go away.
This commit is contained in:
parent
69838bdc8c
commit
e21a0876b6
1 changed files with 1 additions and 1 deletions
|
|
@ -1237,7 +1237,7 @@ void GuiTreeViewCtrl::buildVisibleTree(bool bForceFullUpdate)
|
|||
bForceFullUpdate = true;
|
||||
|
||||
// Update the flags.
|
||||
mFlags.clear(RebuildVisible);
|
||||
mFlags.set(RebuildVisible);
|
||||
|
||||
// build the root items
|
||||
Item *traverse = mRoot;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue