From 34bbc34b5b283bc7770f64cd5f2402e58a7c8f3d Mon Sep 17 00:00:00 2001 From: choco Date: Sun, 21 Dec 2025 20:56:15 +0100 Subject: [PATCH] imgui push/pop --- LightlessSync/UI/Style/AnimatedHeader.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LightlessSync/UI/Style/AnimatedHeader.cs b/LightlessSync/UI/Style/AnimatedHeader.cs index 0037b53..15488ac 100644 --- a/LightlessSync/UI/Style/AnimatedHeader.cs +++ b/LightlessSync/UI/Style/AnimatedHeader.cs @@ -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;