mirror of
https://github.com/ocornut/imgui.git
synced 2025-12-22 22:29:04 +00:00
Fonts: comments, tweaks, minor amends.
Comments, tweaks
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user