Null reference exception fix for setting #101

Merged
defnotken merged 2 commits from null-reference-validation into 2.0.1 2025-12-21 22:53:45 +00:00
Showing only changes of commit 3262664d1c - Show all commits

View File

@@ -222,7 +222,9 @@ public class AnimatedHeader
if (ImGui.IsItemHovered() && !string.IsNullOrEmpty(button.Tooltip))
{
ImGui.PushFont(UiBuilder.DefaultFont);
ImGui.SetTooltip(button.Tooltip);
ImGui.PopFont();
}
currentX -= buttonSize.X + spacing;