mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-09 23:54:20 +00:00
TreeNode: Don't latch GetColorU32(ImGuiCol_TreeLines). (#2920)
Trade off doesn't seem worth it for large trees. User who really needs to alter colors can do it by adjusting Push/Pop locations.
This commit is contained in:
parent
e5b218e6d1
commit
39f34e1e58
3 changed files with 7 additions and 16 deletions
|
|
@ -1294,7 +1294,6 @@ struct ImGuiTreeNodeStackData
|
|||
ImGuiTreeNodeFlags TreeFlags;
|
||||
ImGuiItemFlags ItemFlags; // Used for nav landing
|
||||
ImRect NavRect; // Used for nav landing
|
||||
ImU32 DrawLinesCol;
|
||||
float DrawLinesX1;
|
||||
float DrawLinesY2;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue