Merge pull request 'imgui push/pop' (#100) from updatenotes-changes into 2.0.1
Reviewed-on: #100
This commit was merged in pull request #100.
This commit is contained in:
@@ -222,7 +222,9 @@ public class AnimatedHeader
|
|||||||
|
|
||||||
if (ImGui.IsItemHovered() && !string.IsNullOrEmpty(button.Tooltip))
|
if (ImGui.IsItemHovered() && !string.IsNullOrEmpty(button.Tooltip))
|
||||||
{
|
{
|
||||||
|
ImGui.PushFont(UiBuilder.DefaultFont);
|
||||||
ImGui.SetTooltip(button.Tooltip);
|
ImGui.SetTooltip(button.Tooltip);
|
||||||
|
ImGui.PopFont();
|
||||||
}
|
}
|
||||||
|
|
||||||
currentX -= buttonSize.X + spacing;
|
currentX -= buttonSize.X + spacing;
|
||||||
|
|||||||
Reference in New Issue
Block a user