mirror of
https://github.com/ocornut/imgui.git
synced 2026-09-27 00:13:29 +03:00
Metrics: browsing font baked data persist tree state when e.g. using LoadAll.
This commit is contained in:
parent
226f62fa8f
commit
524f01d248
1 changed files with 1 additions and 1 deletions
|
|
@ -17313,7 +17313,7 @@ void ImGui::DebugNodeFont(ImFont* font)
|
|||
ImFontBaked* baked = &atlas->Builder->BakedPool[baked_n];
|
||||
if (baked->OwnerFont != font)
|
||||
continue;
|
||||
PushID(baked_n);
|
||||
PushID(baked->BakedId);
|
||||
if (TreeNode("Glyphs", "Baked at { %.2fpx, d.%.2f }: %d glyphs%s", baked->Size, baked->RasterizerDensity, baked->Glyphs.Size, (baked->LastUsedFrame < atlas->Builder->FrameCount - 1) ? " *Unused*" : ""))
|
||||
{
|
||||
if (SmallButton("Load all"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue