1
0
Fork 0
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:
ocornut 2025-04-08 19:56:14 +02:00
parent e5b218e6d1
commit 39f34e1e58
3 changed files with 7 additions and 16 deletions

View file

@ -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;
};