mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
Fonts: comments, tweaks, minor amends.
Comments, tweaks
This commit is contained in:
parent
e41bf16ff1
commit
0fff7ceda4
3 changed files with 67 additions and 41 deletions
|
|
@ -16552,7 +16552,7 @@ void ImGui::DebugNodeFont(ImFont* font)
|
|||
ImGuiContext& g = *GImGui;
|
||||
ImGuiMetricsConfig* cfg = &g.DebugMetricsConfig;
|
||||
ImFontAtlas* atlas = font->ContainerAtlas;
|
||||
bool opened = TreeNode(font, "Font: \"%s\": %d sources(s)", font->Sources ? font->Sources[0].Name : "", font->SourcesCount);
|
||||
bool opened = TreeNode(font, "Font: \"%s\": %d sources(s)", font->GetDebugName(), font->SourcesCount);
|
||||
|
||||
// Display preview text
|
||||
if (!opened)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue