From 5093867971d73c4160f999175adda1b95f5448e1 Mon Sep 17 00:00:00 2001 From: Asriel Camora Date: Wed, 3 Jul 2024 23:17:12 -0700 Subject: [PATCH] Fancier Ko-fi link --- Craftimizer/Windows/Settings.cs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Craftimizer/Windows/Settings.cs b/Craftimizer/Windows/Settings.cs index 19de3d2..8adfe58 100644 --- a/Craftimizer/Windows/Settings.cs +++ b/Craftimizer/Windows/Settings.cs @@ -951,8 +951,15 @@ public sealed class Settings : Window, IDisposable ImGui.SameLine(0, 0); ImGui.TextUnformatted(")"); - ImGuiUtils.AlignCentered(ImGui.CalcTextSize($"Ko-fi").X); - ImGuiUtils.Hyperlink("Ko-fi", "https://ko-fi.com/camora"); + using (ImRaii.PushColor(ImGuiCol.Text, new Vector4(0.07f, 0.76f, 1.00f, 1f))) + { + ImGuiUtils.AlignCentered(ImGui.CalcTextSize($"Support me on Ko-fi!").X); + ImGui.TextUnformatted($"Support me on "); + ImGui.SameLine(0, 0); + ImGuiUtils.Hyperlink("Ko-fi", "https://ko-fi.com/camora"); + ImGui.SameLine(0, 0); + ImGui.TextUnformatted("!"); + } } }